Home |
Function RTUEndpointPacketSize Function RTUFindEndpoint |
Function RTUFindEndpointRTUFindEndpoint returns a pointer to an endpoint descriptor of a specific type and direction: const RTUEndpointDescriptor * RTUFindEndpoint(const RTUInterfaceDescriptor * Interface, RTUTransferType Type, RTUIODirection Direction); ParametersInterfacePointer to an interface descriptor of the interface containing the desired endpoint. If this parameter is NULL, the function always returns NULL. TypeTransfer type of the endpoint to find. RTUControl, RTUIsochronous, RTUBulk, or RTUInterrupt can be specified. See RTUEndpointType for details. DirectionDirection of the endpoint to find. RTUSetup, RTUOutput, or RTUInput can be specified. See RTUEndpointDirection for details. return valuePointer to the desired endpoint descriptor or NULL if no matching endpoint was found. Please see RTUGetEndpoint for more information about Endpoint descriptors.
|