diff options
Diffstat (limited to 'nuttx/arch/mips/src/pic32mx/pic32mx-usbotg.h')
-rw-r--r-- | nuttx/arch/mips/src/pic32mx/pic32mx-usbotg.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/arch/mips/src/pic32mx/pic32mx-usbotg.h b/nuttx/arch/mips/src/pic32mx/pic32mx-usbotg.h index 6099ff704..679f353ff 100644 --- a/nuttx/arch/mips/src/pic32mx/pic32mx-usbotg.h +++ b/nuttx/arch/mips/src/pic32mx/pic32mx-usbotg.h @@ -209,6 +209,12 @@ #define USB_STAT_ENDPT_MASK (15 << USB_STAT_ENDPT_SHIFT) # define USB_STAT_ENDPT(n) ((n) << USB_STAT_ENDPT_SHIFT) /* Endpoint n, n=0..15 */ +#define USB_STAT_PPBI_ODD USB_STAT_PPBI /* The last transaction was to the ODD BD bank */ +#define USB_STAT_PPBI_EVEN 0 /* The last transaction was to the EVEN BD bank */ + +#define USB_STAT_DIR_IN USB_STAT_DIR /* Last transaction was a transmit transfer (TX) */ +#define USB_STAT_DIR_OUT 0 /* Last transaction was a receive transfer (RX) */ + /* USB Module Control Register */ #define USB_CON_USBEN (1 << 0) /* Bit 0: USB Module Enable */ |