Loading...
Searching...
No Matches
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.
 

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 69 of file control.h.

◆ handler

usbus_handler_t usbus_control_handler_t::handler

inherited generic handler

Definition at line 59 of file control.h.

◆ in

usbdev_ep_t* usbus_control_handler_t::in

EP0 IN endpoint reference.

Definition at line 89 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 99 of file control.h.

◆ out

usbdev_ep_t* usbus_control_handler_t::out

EP0 OUT endpoint reference.

Definition at line 84 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 94 of file control.h.

◆ received_len

size_t usbus_control_handler_t::received_len

Received bytes for set requests.

Definition at line 79 of file control.h.

◆ setup

usb_setup_t usbus_control_handler_t::setup

Last received setup packet.

Definition at line 64 of file control.h.

◆ slicer

usbus_control_slicer_t usbus_control_handler_t::slicer

Slicer state for multipart control request messages.

Definition at line 74 of file control.h.


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