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

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

Macros

#define ARM_USBH_EVENT_TRANSFER_COMPLETE   (1UL << 0)
 Transfer completed.
 
#define ARM_USBH_EVENT_HANDSHAKE_NAK   (1UL << 1)
 NAK Handshake received.
 
#define ARM_USBH_EVENT_HANDSHAKE_NYET   (1UL << 2)
 NYET Handshake received.
 
#define ARM_USBH_EVENT_HANDSHAKE_MDATA   (1UL << 3)
 MDATA Handshake received.
 
#define ARM_USBH_EVENT_HANDSHAKE_STALL   (1UL << 4)
 STALL Handshake received.
 
#define ARM_USBH_EVENT_HANDSHAKE_ERR   (1UL << 5)
 ERR Handshake received.
 
#define ARM_USBH_EVENT_BUS_ERROR   (1UL << 6)
 Bus Error detected.
 

Description

The USB Host driver generates Pipe call back events that are notified via the function ARM_USBH_SignalPipeEvent.

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

The following call back notification events are generated:

Macro Definition Documentation

◆ ARM_USBH_EVENT_TRANSFER_COMPLETE

#define ARM_USBH_EVENT_TRANSFER_COMPLETE   (1UL << 0)

Transfer completed.

◆ ARM_USBH_EVENT_HANDSHAKE_NAK

#define ARM_USBH_EVENT_HANDSHAKE_NAK   (1UL << 1)

NAK Handshake received.

◆ ARM_USBH_EVENT_HANDSHAKE_NYET

#define ARM_USBH_EVENT_HANDSHAKE_NYET   (1UL << 2)

NYET Handshake received.

◆ ARM_USBH_EVENT_HANDSHAKE_MDATA

#define ARM_USBH_EVENT_HANDSHAKE_MDATA   (1UL << 3)

MDATA Handshake received.

◆ ARM_USBH_EVENT_HANDSHAKE_STALL

#define ARM_USBH_EVENT_HANDSHAKE_STALL   (1UL << 4)

STALL Handshake received.

◆ ARM_USBH_EVENT_HANDSHAKE_ERR

#define ARM_USBH_EVENT_HANDSHAKE_ERR   (1UL << 5)

ERR Handshake received.

◆ ARM_USBH_EVENT_BUS_ERROR

#define ARM_USBH_EVENT_BUS_ERROR   (1UL << 6)

Bus Error detected.