Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description

Get PHDC connection state.

Files

usbd_phdc.h / usbd_phdc.c

Prototype

Arguments

class_nbr

PHDC instance number.

Returned Value

DEF_YES, if PHDC is connected.

DEF_NO, otherwise.

Callers

Application.

Notes / Warnings

USBD_PHDC_IsConn() is typically used to verify that the device is in ‘configured’ state and that the PHDC instance is ready for communication. The following code illustrates a typical example:

Once the connected status is DEF_YES, the communication can start.

  • No labels