| CMSIS-Driver Version 2.02 Peripheral Interface for Middleware and Application Code

- CMSIS
- CORE
- Driver
- DSP
- RTOS API
- Pack
- SVD

- Main Page
- Usage and Description
- Reference

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
USBD Device Events
USB Device Interface

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

#define ARM_USBD_EVENT_HIGH_SPEED (1UL << 3)

USB switch to High Speed occurred.

#define ARM_USBD_EVENT_RESET (1UL << 2)

USB Reset occurred.

#define ARM_USBD_EVENT_RESUME (1UL << 5)

USB Resume occurred.

#define ARM_USBD_EVENT_SUSPEND (1UL << 4)

USB Suspend occurred.

#define ARM_USBD_EVENT_VBUS_OFF (1UL << 1)

USB Device VBUS Off.

#define ARM_USBD_EVENT_VBUS_ON (1UL << 0)

USB Device VBUS On.