/** Returns the current USB frame number, when in device mode. Every millisecond the USB bus is active (i.e. enumerated to a host)\r
* the frame number is incremented by one.\r
*/\r
+ static inline uint16_t USB_Device_GetFrameNumber(void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT;\r
static inline uint16_t USB_Device_GetFrameNumber(void)\r
{\r
return AVR32_USBB.UDFNUM.fnum;\r
AVR32_USBB.UDCON.adden = true;\r
}\r
\r
- static inline bool USB_Device_IsAddressSet(void) ATTR_ALWAYS_INLINE;\r
+ static inline bool USB_Device_IsAddressSet(void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT;\r
static inline bool USB_Device_IsAddressSet(void)\r
{\r
return AVR32_USBB.UDCON.adden;\r