OTGIEN |= (1 << VBERRE);
break;
case USB_INT_SRPI:
- OTGIEN |= (1 << SRPE);
+ OTGIEN |= (1 << SRPE);
break;
#endif
}
OTGIEN &= ~(1 << VBERRE);
break;
case USB_INT_SRPI:
- OTGIEN &= ~(1 << SRPE);
+ OTGIEN &= ~(1 << SRPE);
break;
#endif
}
}
-
+
static inline void USB_INT_Clear(const uint8_t Interrupt) ATTR_ALWAYS_INLINE;
static inline void USB_INT_Clear(const uint8_t Interrupt)
{
#endif
}
}
-
+
static inline bool USB_INT_IsEnabled(const uint8_t Interrupt) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT;
static inline bool USB_INT_IsEnabled(const uint8_t Interrupt)
{
return (OTGIEN & (1 << SRPE));
#endif
}
-
+
return false;
}
-
+
static inline bool USB_INT_HasOccurred(const uint8_t Interrupt) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT;
static inline bool USB_INT_HasOccurred(const uint8_t Interrupt)
{