APM:Libraries
|
Macros | |
#define | MODE_HNP_SRP_CAPABLE 0 |
#define | MODE_SRP_ONLY_CAPABLE 1 |
#define | MODE_NO_HNP_SRP_CAPABLE 2 |
#define | MODE_SRP_CAPABLE_DEVICE 3 |
#define | MODE_NO_SRP_CAPABLE_DEVICE 4 |
#define | MODE_SRP_CAPABLE_HOST 5 |
#define | MODE_NO_SRP_CAPABLE_HOST 6 |
#define | A_HOST 1 |
#define | A_SUSPEND 2 |
#define | A_PERIPHERAL 3 |
#define | B_PERIPHERAL 4 |
#define | B_HOST 5 |
#define | DEVICE_MODE 0 |
#define | HOST_MODE 1 |
#define | OTG_MODE 2 |
#define A_HOST 1 |
Definition at line 105 of file usb_defines.h.
#define A_PERIPHERAL 3 |
Definition at line 107 of file usb_defines.h.
#define A_SUSPEND 2 |
Definition at line 106 of file usb_defines.h.
#define B_HOST 5 |
Definition at line 109 of file usb_defines.h.
#define B_PERIPHERAL 4 |
Definition at line 108 of file usb_defines.h.
#define DEVICE_MODE 0 |
Definition at line 110 of file usb_defines.h.
Referenced by DCD_Init(), and USB_OTG_SetCurrentMode().
#define HOST_MODE 1 |
Definition at line 111 of file usb_defines.h.
Referenced by USB_OTG_IsDeviceMode(), USB_OTG_IsHostMode(), and USB_OTG_SetCurrentMode().
#define MODE_HNP_SRP_CAPABLE 0 |
Definition at line 98 of file usb_defines.h.
#define MODE_NO_HNP_SRP_CAPABLE 2 |
Definition at line 100 of file usb_defines.h.
#define MODE_NO_SRP_CAPABLE_DEVICE 4 |
Definition at line 102 of file usb_defines.h.
#define MODE_NO_SRP_CAPABLE_HOST 6 |
Definition at line 104 of file usb_defines.h.
#define MODE_SRP_CAPABLE_DEVICE 3 |
Definition at line 101 of file usb_defines.h.
#define MODE_SRP_CAPABLE_HOST 5 |
Definition at line 103 of file usb_defines.h.
#define MODE_SRP_ONLY_CAPABLE 1 |
Definition at line 99 of file usb_defines.h.
#define OTG_MODE 2 |
Definition at line 112 of file usb_defines.h.