| Copyright | (c) Marc Fontaine 2017 |
|---|---|
| License | BSD3 |
| Maintainer | Marc.Fontaine@gmx.de |
| Stability | experimental |
| Portability | GHC-only |
| Safe Haskell | None |
| Language | Haskell2010 |
STM32.STLinkUSB.USBUtils
Description
This module contains low-level functions for initializing the USB connection.
In most setups runSTLink does all the work
and there is no need to include this module.
Documentation
findDefaultEndpoints :: IO (Ctx, Device, EndpointAddress, EndpointAddress, EndpointAddress) Source #
findEndpoints :: Ctx -> Device -> IO (Ctx, Device, EndpointAddress, EndpointAddress, EndpointAddress) Source #
usbReadTimeout :: Int Source #