usbus_control_handler_t Struct Reference

Endpoint zero event handler. More...

Detailed Description

Endpoint zero event handler.

Definition at line 54 of file control.h.

#include <control.h>

Data Fields

usbus_handler_t handler
 inherited generic handler
 
usb_setup_t setup
 Last received setup packet.
 
usbus_control_request_state_t control_request_state
 Control request state machine state.
 
usbus_control_slicer_t slicer
 Slicer state for multipart control request messages.
 
size_t received_len
 Received bytes for set requests.
 
usbdev_ep_tout
 EP0 OUT endpoint reference.
 
usbdev_ep_tin
 EP0 IN endpoint reference.
 
usbdev_ep_buf_t out_buf [CONFIG_USBUS_EP0_SIZE]
 Host to device control request buffer.
 
usbdev_ep_buf_t in_buf [CONFIG_USBUS_EP0_SIZE]
 Device to host control request buffer.
 

The documentation for this struct was generated from the following file: