Home |
Function RTUEndpointDirection Function RTUEndpointPacketSize |
Function RTUEndpointDirectionRTUEndpointDirection determines the I/O direction implemented by an endpoint: typedef enum { RTUSetup, RTUOutput, RTUInput } RTUIODirection; RTUIODirection RTUEndpointDirection(const RTUEndpointDescriptor * Endpoint); ParametersEndpointPointer to an endpoint descriptor returned by RTUGetEndpoint. return valueRTUSetup (Control transfers which are bidirectional), RTUOutput (from host to device), or RTUInput (from device to host).
|