USBD_ACM_SerialIsConn

Description

Determine if CDC ACM serial emulation class instance is connected.

Files

usbd_acm_serial.h/usbd_acm_serial.c

Prototype

CPU_BOOLEAN  USBD_ACM_SerialIsConn (CPU_INT08U  subclass_nbr);


Arguments

subclass_nbr

CDC ACM serial emulation subclass instance number.

Returned Value

DEF_OK, if CDC ACM serial emulation subclass instance is connected and device is not in suspended state.

DEF_FAIL, otherwise.

Callers

Application.

Notes / Warnings

None.