STLinkUSB-0.1.1: STLink USB interface in Haskell

Copyright(c) Marc Fontaine 2017
LicenseBSD3
MaintainerMarc.Fontaine@gmx.de
Stabilityexperimental
PortabilityGHC-only
Safe HaskellNone
LanguageHaskell2010

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

withUSB :: Device -> (DeviceHandle -> IO a) -> IO a Source #