Loading...
Searching...
No Matches
usbus_control_handler_t Struct Reference

Endpoint zero event handler. More...

Detailed Description

Endpoint zero event handler.

Definition at line 53 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.
 

Field Documentation

◆ control_request_state

usbus_control_request_state_t usbus_control_handler_t::control_request_state

Control request state machine state.

Definition at line 68 of file control.h.

◆ handler

usbus_handler_t usbus_control_handler_t::handler

inherited generic handler

Definition at line 58 of file control.h.

◆ in

usbdev_ep_t* usbus_control_handler_t::in

EP0 IN endpoint reference.

Definition at line 88 of file control.h.

◆ in_buf

usbdev_ep_buf_t usbus_control_handler_t::in_buf[CONFIG_USBUS_EP0_SIZE]

Device to host control request buffer.

Definition at line 98 of file control.h.

◆ out

usbdev_ep_t* usbus_control_handler_t::out

EP0 OUT endpoint reference.

Definition at line 83 of file control.h.

◆ out_buf

usbdev_ep_buf_t usbus_control_handler_t::out_buf[CONFIG_USBUS_EP0_SIZE]

Host to device control request buffer.

Definition at line 93 of file control.h.

◆ received_len

size_t usbus_control_handler_t::received_len

Received bytes for set requests.

Definition at line 78 of file control.h.

◆ setup

usb_setup_t usbus_control_handler_t::setup

Last received setup packet.

Definition at line 63 of file control.h.

◆ slicer

usbus_control_slicer_t usbus_control_handler_t::slicer

Slicer state for multipart control request messages.

Definition at line 73 of file control.h.


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