CMSIS-Driver  
Peripheral Interface for Middleware and Application Code
 
Loading...
Searching...
No Matches
USBD Device Events

The USB Device driver generates Device call back events that are notified via the function ARM_USBD_SignalDeviceEvent. More...

Macros

#define ARM_USBD_EVENT_VBUS_ON   (1UL << 0)
 USB Device VBUS On.
 
#define ARM_USBD_EVENT_VBUS_OFF   (1UL << 1)
 USB Device VBUS Off.
 
#define ARM_USBD_EVENT_RESET   (1UL << 2)
 USB Reset occurred.
 
#define ARM_USBD_EVENT_HIGH_SPEED   (1UL << 3)
 USB switch to High Speed occurred.
 
#define ARM_USBD_EVENT_SUSPEND   (1UL << 4)
 USB Suspend occurred.
 
#define ARM_USBD_EVENT_RESUME   (1UL << 5)
 USB Resume occurred.
 

Description

The USB Device driver generates Device call back events that are notified via the function ARM_USBD_SignalDeviceEvent.

This section provides the event values for the ARM_USBD_SignalDeviceEvent callback function.

The following call back notification events are generated:

Macro Definition Documentation

◆ ARM_USBD_EVENT_VBUS_ON

#define ARM_USBD_EVENT_VBUS_ON   (1UL << 0)

USB Device VBUS On.

◆ ARM_USBD_EVENT_VBUS_OFF

#define ARM_USBD_EVENT_VBUS_OFF   (1UL << 1)

USB Device VBUS Off.

◆ ARM_USBD_EVENT_RESET

#define ARM_USBD_EVENT_RESET   (1UL << 2)

USB Reset occurred.

◆ ARM_USBD_EVENT_HIGH_SPEED

#define ARM_USBD_EVENT_HIGH_SPEED   (1UL << 3)

USB switch to High Speed occurred.

◆ ARM_USBD_EVENT_SUSPEND

#define ARM_USBD_EVENT_SUSPEND   (1UL << 4)

USB Suspend occurred.

◆ ARM_USBD_EVENT_RESUME

#define ARM_USBD_EVENT_RESUME   (1UL << 5)

USB Resume occurred.