ESPHome 2025.10.0-dev
Loading...
Searching...
No Matches
esphome::usb_host::UsbEvent Struct Reference

#include <usb_host.h>

Public Member Functions

void release ()
 

Data Fields

EventType type
 
union { 
 
   struct { 
 
      uint8_t   address 
 
   }   device_new 
 
   struct { 
 
      usb_device_handle_t   handle 
 
   }   device_gone 
 
   struct { 
 
      TransferRequest *   trq 
 
   }   transfer 
 
data 
 

Detailed Description

Definition at line 69 of file usb_host.h.

Member Function Documentation

◆ release()

void esphome::usb_host::UsbEvent::release ( )
inline

Definition at line 84 of file usb_host.h.

Field Documentation

◆ address

uint8_t esphome::usb_host::UsbEvent::address

Definition at line 73 of file usb_host.h.

◆ [union]

union { ... } esphome::usb_host::UsbEvent::data

◆ [struct]

struct { ... } esphome::usb_host::UsbEvent::device_gone

◆ [struct]

struct { ... } esphome::usb_host::UsbEvent::device_new

◆ handle

usb_device_handle_t esphome::usb_host::UsbEvent::handle

Definition at line 76 of file usb_host.h.

◆ [struct]

struct { ... } esphome::usb_host::UsbEvent::transfer

◆ trq

TransferRequest* esphome::usb_host::UsbEvent::trq

Definition at line 79 of file usb_host.h.

◆ type

EventType esphome::usb_host::UsbEvent::type

Definition at line 70 of file usb_host.h.


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