Description
Determine if CDC instance is connected.
Files
usbd_cdc.h/usbd_cdc.c
Prototype
Arguments
class_nbr
CDC instance number.
Returned Value
DEF_OK
, if CDC instance is connected and device is not in suspended state.
DEF_FAIL
, otherwise.
Callers
- CDC Subclass drivers
- Application
Notes / Warnings
- If the
USBD_CDC_IsConn()
returnsDEF_OK
, than the CDC instance is ready for management, notification, read and write operations.