USBD_PHDC_Reset

Description

Reset PHDC instance.

Files

usbd_phdc.h / usbd_phdc.c

Prototype

void  USBD_PHDC_Reset (CPU_INT08U  class_nbr);


Arguments

class_nbr

PHDC instance number.

Returned Value

None.

Callers

USBD_PHDC_Disconn()

Application.

Notes / Warnings

  1. USBD_PHDC_Reset() should be used to reset internal variables like the transmit priority queue of the PHDC instance.
  2. This function should be called when the data layer above PHDC request to terminate communication. For instance, USBD_PHDC_Reset() should be called when the host send an ‘11073 Association abort’ request.