次の方法で共有


USBDBG_MSG (Compact 2013)

10/16/2014

This enumeration specifies the messages that the platform-dependent device driver (PDD) can send to the model device driver (MDD).

Syntax

typedef enum USBDBG_MSG
{
    USBDBG_MSG_NOMSG = 0,
    USBDBG_MSG_SETUP_PACKET,
    USBDBG_MSG_EP_RX_PKT,
    USBDBG_MSG_EP_TX_PKT,
    USBDBG_MSG_BUS_EVENT_DETACH, 
    USBDBG_MSG_BUS_EVENT_ATTACH, 
    USBDBG_MSG_BUS_EVENT_RESET,  
    USBDBG_MSG_BUS_EVENT_SUSPEND,
    USBDBG_MSG_BUS_EVENT_RESUME
} USBDBG_MSG;

Elements

  • USBDBG_MSG_NOMSG
    Equals 0. This message indicates that there is no message.
  • USBDBG_MSG_SETUP_PACKET
    The PDD sends this message to signal that a SETUP packet was received.
  • USBDBG_MSG_EP_RX_PKT
    The PDD sends this message to signal that an OUT packet was received on an endpoint.
  • USBDBG_MSG_EP_TX_PKT
    The PDD sends this message to signal that an IN packet was sent on an endpoint.
  • USBDBG_MSG_BUS_EVENT_DETACH
    The PDD sends this message to signal a bus detach event.
  • USBDBG_MSG_BUS_EVENT_ATTACH
    The PDD sends this message to signal a bus attach event.
  • USBDBG_MSG_BUS_EVENT_RESET
    The PDD sends this message to signal a bus reset event.
  • USBDBG_MSG_BUS_EVENT_SUSPEND
    The PDD sends this message to signal a bus suspend event.
  • USBDBG_MSG_BUS_EVENT_RESUME
    The PDD sends this message to signal a bus resume event.

Requirements

Header

UsbDbgDdsi.h

See Also

Reference

USBDBG PDD Enumerations