usb-0.3: Communicate with USB devicesSource codeContentsIndex
System.USB.IO.Synchronous.Enumerator
MaintainerBas van Dijk <v.dijk.bas@gmail.com>
Description
Experimental enumerators for endpoints.
Documentation
enumReadBulkSource
:: (ReadableChunk s el, MonadCatchIO m)
=> DeviceHandleA handle for the device to communicate with.
-> EndpointAddressThe address of a valid In and Bulk endpoint to communicate with. Make sure the endpoint belongs to the current alternate setting of a claimed interface which belongs to the device.
-> TimeoutTimeout (in milliseconds) that this function should wait for each chunk before giving up due to no response being received. For no timeout, use value 0.
-> SizeChunk size. A good value for this would be the endpointMaxPacketSize.
-> EnumeratorGM s el m a
enumReadInterruptSource
:: (ReadableChunk s el, MonadCatchIO m)
=> DeviceHandleA handle for the device to communicate with.
-> EndpointAddressThe address of a valid In and Interrupt endpoint to communicate with. Make sure the endpoint belongs to the current alternate setting of a claimed interface which belongs to the device.
-> TimeoutTimeout (in milliseconds) that this function should wait for each chunk before giving up due to no response being received. For no timeout, use value 0.
-> SizeChunk size. A good value for this would be the endpointMaxPacketSize.
-> EnumeratorGM s el m a
Produced by Haddock version 2.4.2