Description
Gets current device state.
Files
usbd_core.h/usbd_core.c
Prototype
Arguments
dev_nbr
Device number.
p_err
Pointer to variable that will receive the return error code from this function.
USBD_ERR_NONE
USBD_ERR_DEV_INVALID_NBR
Returned Value
Current device state,
if no error(s).
USBD_DEV_STATE_NONE,
otherwise.
Callers
Application,
Classes.
Notes / Warnings
None.