| Copyright | (c) Marc Fontaine 2017 |
|---|---|
| License | BSD3 |
| Maintainer | Marc.Fontaine@gmx.de |
| Stability | experimental |
| Portability | GHC-only |
| Safe Haskell | None |
| Language | Haskell2010 |
STM32.STLinkUSB.USBXfer
Description
This module contains low-level functions for USB data transfers. Don't use theses functions directly, the prefered API is the MemRW module.
Documentation
data XferStatus Source #
Constructors
| XferOK | |
| XferRetry | |
| XferDongleError | |
| XferUSBError (Either USBException Status) |
Instances
xferStatus :: Cmd -> STL (ByteString, Either USBException Status) Source #
xferBulkWrite :: Cmd -> ByteString -> STL () Source #