mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-09 18:44:31 +00:00
add hint/question with ISB
This commit is contained in:
parent
4a8ac71711
commit
6cfdf697eb
@ -47,7 +47,7 @@ static inline void dwc2_dcd_int_enable(uint8_t rhport)
|
|||||||
{
|
{
|
||||||
(void) rhport;
|
(void) rhport;
|
||||||
BP_EnableIRQ(USB_IRQn);
|
BP_EnableIRQ(USB_IRQn);
|
||||||
__asm__ volatile("isb");
|
__asm__ volatile("isb"); // needed if TIMER1 IRQ is not enabled !?
|
||||||
}
|
}
|
||||||
|
|
||||||
TU_ATTR_ALWAYS_INLINE
|
TU_ATTR_ALWAYS_INLINE
|
||||||
@ -55,7 +55,7 @@ static inline void dwc2_dcd_int_disable (uint8_t rhport)
|
|||||||
{
|
{
|
||||||
(void) rhport;
|
(void) rhport;
|
||||||
BP_DisableIRQ(USB_IRQn);
|
BP_DisableIRQ(USB_IRQn);
|
||||||
__asm__ volatile("isb");
|
__asm__ volatile("isb"); // needed if TIMER1 IRQ is not enabled !?
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void dwc2_remote_wakeup_delay(void)
|
static inline void dwc2_remote_wakeup_delay(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user