4.4.14.3.5 USB_BusStateIs()

static ALWAYS_INLINE bool USB_BusStateIs (uint8_t bus_state_bm)[static]

Checks if the USB bus has any specific status flags set.

Parameters:
bus_state_bm

- The bitmap of the specific status flags to check

Return values:
0

- No status flags set

1

- The bus has one or more specified status flags set