USBD_HID_IsConn

Description

Returns the HID class connection state.

Files

usbd_hid.h/usbd_hid.c

Prototype

CPU_BOOLEAN  USBD_HID_IsConn (CPU_INT08U  class_nbr);


Arguments

class_nbr

Class instance number.

Returned Value

DEF_YES, if class is connected.

DEF_NO, otherwise.

Callers

Application.

Notes / Warnings

The class connected state also implies the USB device is in configured state.