|
System.USB.IO.Synchronous.Enumerator | Maintainer | Bas van Dijk <v.dijk.bas@gmail.com> |
|
|
|
Description |
Experimental enumerators for endpoints.
|
|
|
Documentation |
|
|
:: (ReadableChunk s el, MonadCatchIO m) | | => DeviceHandle | A handle for the device to communicate
with.
| -> EndpointAddress | The 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.
| -> Timeout | Timeout (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.
| -> Size | Chunk size. A good value for this would
be the endpointMaxPacketSize.
| -> EnumeratorGM s el m a | |
|
|
|
:: (ReadableChunk s el, MonadCatchIO m) | | => DeviceHandle | A handle for the device to
communicate with.
| -> EndpointAddress | The 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.
| -> Timeout | Timeout (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.
| -> Size | Chunk size. A good value for this
would be the endpointMaxPacketSize.
| -> EnumeratorGM s el m a | |
|
|
Produced by Haddock version 2.4.2 |