4.4.6.1.2 Functions
RETURN_CODE_t USB_SetupProcessDeviceRequest (USB_SETUP_REQUEST_t *setupRequestPtr)
Setup function for the device requests.
RETURN_CODE_t USB_SetupProcessEndpointRequest (USB_SETUP_REQUEST_t *setupRequestPtr)
Setup function for the endpoint requests.
RETURN_CODE_t USB_SetupProcessInterfaceRequest (USB_SETUP_REQUEST_t *setupRequestPtr)
Setup function for the interface requests.
RETURN_CODE_t SetupDeviceRequestGetStatus (void)
Returns the status of the device features.
RETURN_CODE_t SetupDeviceRequestClearFeature (USB_SETUP_REQUEST_t *setupRequestPtr)
Clears the device feature.
RETURN_CODE_t SetupDeviceRequestSetFeature (USB_SETUP_REQUEST_t *setupRequestPtr)
Sets the device feature.
RETURN_CODE_t SetupDeviceRequestSetAddress (uint8_t address)
Sets the device address.
void SetupDeviceAddressCallback (void)
Callback function for the address.
RETURN_CODE_t SetupDeviceRequestGetDescriptor (USB_SETUP_REQUEST_t *setupRequestPtr)
Gets the device descriptor.
RETURN_CODE_t SetupDeviceRequestGetConfiguration (void)
Gets the device configuration.
RETURN_CODE_t SetupDeviceRequestSetConfiguration (uint8_t configurationValue)
Sets the device configuration.
USB_PIPE_t EndpointFromRequestGet (uint16_t wIndex)
Gets the endpoint status.
RETURN_CODE_t SetupEndpointRequestGetStatus (USB_SETUP_REQUEST_t *setupRequestPtr)
Gets the endpoint status.
RETURN_CODE_t SetupEndpointRequestClearFeature (USB_SETUP_REQUEST_t *setupRequestPtr)
Clears the endpoint feature.
RETURN_CODE_t SetupEndpointRequestSetFeature (USB_SETUP_REQUEST_t *setupRequestPtr)
Sets the endpoint feature.
RETURN_CODE_t SetupEndpointRequestSynchFrame (void)
Gets the current frame number.
RETURN_CODE_t USB_SetupInterfaceRequestGetStatus (void)
Returns status for the specified interface.
RETURN_CODE_t USB_SetupInterfaceRequestGetInterface (USB_SETUP_REQUEST_t *setupRequestPtr)
Returns the alternate setting for the specified interface.
RETURN_CODE_t USB_SetupInterfaceRequestSetInterface (USB_SETUP_REQUEST_t *setupRequestPtr)
Setup function for the interface request to select the alternate setting.
RETURN_CODE_t USB_SetupInterfaceRequestGetDescriptor (USB_SETUP_REQUEST_t *setupRequestPtr)
Setup function for the interface request for class-specific descriptors.