Macros
USB device states
Collaboration diagram for USB device states:

Macros

#define USBD_STATE_ADDRESS   4
 
#define USBD_STATE_ATTACHED   1
 
#define USBD_STATE_CONFIGURED   5
 
#define USBD_STATE_DEFAULT   3
 
#define USBD_STATE_POWERED   2
 
#define USBD_STATE_SUSPENDED   0
 

Detailed Description

This section lists the device states of the USB device driver.

Macro Definition Documentation

◆ USBD_STATE_ADDRESS

#define USBD_STATE_ADDRESS   4

The device has been given an address on the bus.

Definition at line 141 of file USBD.h.

◆ USBD_STATE_ATTACHED

#define USBD_STATE_ATTACHED   1

USB cable is plugged into the device.

Definition at line 135 of file USBD.h.

◆ USBD_STATE_CONFIGURED

#define USBD_STATE_CONFIGURED   5

A valid configuration has been selected.

Definition at line 143 of file USBD.h.

◆ USBD_STATE_DEFAULT

#define USBD_STATE_DEFAULT   3

Device has been reset.

Definition at line 139 of file USBD.h.

◆ USBD_STATE_POWERED

#define USBD_STATE_POWERED   2

Host is providing +5V through the USB cable.

Definition at line 137 of file USBD.h.

◆ USBD_STATE_SUSPENDED

#define USBD_STATE_SUSPENDED   0

The device is currently suspended.

Definition at line 133 of file USBD.h.



inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:02