drivers: udc_dwc2: enable SOF interrupts and SOF events
Enable SOF interrupts and SOF events. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
This commit is contained in:
parent
0c936f8bda
commit
13022ceab7
2 changed files with 10 additions and 1 deletions
|
@ -202,6 +202,8 @@ USB_DWC2_SET_FIELD_DEFINE(grstctl_txfnum, GRSTCTL_TXFNUM)
|
|||
#define USB_DWC2_GINTSTS_USBSUSP BIT(USB_DWC2_GINTSTS_USBSUSP_POS)
|
||||
#define USB_DWC2_GINTSTS_RXFLVL_POS 4UL
|
||||
#define USB_DWC2_GINTSTS_RXFLVL BIT(USB_DWC2_GINTSTS_RXFLVL_POS)
|
||||
#define USB_DWC2_GINTSTS_SOF_POS 3UL
|
||||
#define USB_DWC2_GINTSTS_SOF BIT(USB_DWC2_GINTSTS_SOF_POS)
|
||||
#define USB_DWC2_GINTSTS_OTGINT_POS 2UL
|
||||
#define USB_DWC2_GINTSTS_OTGINT BIT(USB_DWC2_GINTSTS_OTGINT_POS)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue