mirror of
https://github.com/apache/nuttx.git
synced 2026-08-29 05:10:44 +00:00
EFM32: More USB register name corrections. Still incomplete
This commit is contained in:
parent
299b4db5de
commit
d667b9072a
2 changed files with 207 additions and 219 deletions
|
|
@ -75,6 +75,19 @@
|
|||
/*******************************************************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
*******************************************************************************************************************************/
|
||||
/* General definitions */
|
||||
|
||||
#define USB_EPTYPE_CTRL (0) /* Control */
|
||||
#define USB_EPTYPE_ISOC (1) /* Isochronous */
|
||||
#define USB_EPTYPE_BULK (2) /* Bulk */
|
||||
#define USB_EPTYPE_INTR (3) /* Interrupt */
|
||||
|
||||
#define USB_PID_DATA0 (0)
|
||||
#define USB_PID_DATA2 (1)
|
||||
#define USB_PID_DATA1 (2)
|
||||
#define USB_PID_MDATA (3) /* Non-control */
|
||||
#define USB_PID_SETUP (3) /* Control */
|
||||
|
||||
/* USB Register Offsets ********************************************************************************************************/
|
||||
|
||||
#define EFM32_USB_CTRL_OFFSET 0x00000 /* System Control Register */
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue