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

The USB Host driver generates Port call back events that are notified via the function ARM_USBH_SignalPortEvent. More...

Macros

#define ARM_USBH_EVENT_CONNECT   (1UL << 0)
 USB Device Connected to Port.
 
#define ARM_USBH_EVENT_DISCONNECT   (1UL << 1)
 USB Device Disconnected from Port.
 
#define ARM_USBH_EVENT_OVERCURRENT   (1UL << 2)
 USB Device caused Overcurrent.
 
#define ARM_USBH_EVENT_RESET   (1UL << 3)
 USB Reset completed.
 
#define ARM_USBH_EVENT_SUSPEND   (1UL << 4)
 USB Suspend occurred.
 
#define ARM_USBH_EVENT_RESUME   (1UL << 5)
 USB Resume occurred.
 
#define ARM_USBH_EVENT_REMOTE_WAKEUP   (1UL << 6)
 USB Device activated Remote Wakeup.
 

Description

The USB Host driver generates Port call back events that are notified via the function ARM_USBH_SignalPortEvent.

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

The following call back notification events are generated:

Macro Definition Documentation

◆ ARM_USBH_EVENT_CONNECT

#define ARM_USBH_EVENT_CONNECT   (1UL << 0)

USB Device Connected to Port.

◆ ARM_USBH_EVENT_DISCONNECT

#define ARM_USBH_EVENT_DISCONNECT   (1UL << 1)

USB Device Disconnected from Port.

◆ ARM_USBH_EVENT_OVERCURRENT

#define ARM_USBH_EVENT_OVERCURRENT   (1UL << 2)

USB Device caused Overcurrent.

◆ ARM_USBH_EVENT_RESET

#define ARM_USBH_EVENT_RESET   (1UL << 3)

USB Reset completed.

◆ ARM_USBH_EVENT_SUSPEND

#define ARM_USBH_EVENT_SUSPEND   (1UL << 4)

USB Suspend occurred.

◆ ARM_USBH_EVENT_RESUME

#define ARM_USBH_EVENT_RESUME   (1UL << 5)

USB Resume occurred.

◆ ARM_USBH_EVENT_REMOTE_WAKEUP

#define ARM_USBH_EVENT_REMOTE_WAKEUP   (1UL << 6)

USB Device activated Remote Wakeup.