| Copyright | (c) Marc Fontaine 2017 |
|---|---|
| License | BSD3 |
| Maintainer | Marc.Fontaine@gmx.de |
| Stability | experimental |
| Portability | GHC-only |
| Safe Haskell | None |
| Language | Haskell2010 |
STM32.STLinkUSB.Dongle
Description
Functions for initializing, reseting and mode-change of the STLink dongle.
Documentation
initDongle :: STL () Source #
Init the dongle and set debug mode. A Haskell translation of the same function in the openocd library.
readVersion :: STL Version Source #
readVoltage :: STL Float Source #
Constructors
| MODE_DFU | |
| MODE_MASS | |
| MODE_DEBUG_JTAG | |
| MODE_DEBUG_SWD | |
| MODE_DEBUG_SWIM |