nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ usb_state

enum usb_state

#include <applications/nrf_desktop/src/events/usb_event.h>

Peer states.

Enumerator
USB_STATE_DISCONNECTED 

Cable is not attached.

USB_STATE_POWERED 

Cable attached but no communication.

USB_STATE_ACTIVE 

Cable attached and data is exchanged.

USB_STATE_SUSPENDED 

Cable attached but port is suspended.

USB_STATE_COUNT 

Number of states.