4.4.8.3.5 USB_SETUP_PROCESS_CALLBACK_t

typedef RETURN_CODE_t(* USB_SETUP_PROCESS_CALLBACK_t) (USB_SETUP_REQUEST_t *setupRequestPtr)

Function callback type USB_SETUP_PROCESS_CALLBACK_t. Callback type used for setup request processing, with a return code to let the stack know to proceed.

Parameters:
*setupRequestPtr

- Pointer to the current setup request data structure

Returns:

SUCCESS or an Error code according to RETURN_CODE_t