USBD_PHDC_11073_ExtCfg

USBD_PHDC_11073_ExtCfg

Description

Configure function extension for given class instance.

Files

usbd_phdc.h / usbd_phdc.c

Prototype

void USBD_PHDC_11073_ExtCfg (CPU_INT08U class_nbr, CPU_INT16U *p_dev_specialization, CPU_INT08U nbr_dev_specialization, USBD_ERR *p_err);

 

Arguments

class_nbr

PHDC instance number.

p_dev_specialization

Pointer to an array that contains a list of device specializations.

nbr_dev_specialization

Number of device specializations specified in p_dev_specialization.

p_err

Pointer to variable that will receive the return error code from this function.

USBD_ERR_NONE

USBD_ERR_INVALID_ARG

Returned Value

None.

Callers

Application.

Notes / Warnings

  1. USBD_PHDC_11073_ExtCfg() should be called only if PHDC instance uses 11073 data format.

  2. USBD_PHDC_11073_ExtCfg() should be called after USBD_PHDC_Init and USBD_PHDC_Add() but before USBD_PHDC_CfgAdd.

  3. For more information on 11073 device specialization, See 'Personal Healthcare Device Class specifications Revision 1.0', Appendix A. For a list of known device specialization, see 'Nomenclature code annex of ISO/IEEE 11073-20601'. Specific code are listed in the 'From Communication infrastructure (MDC_PART_INFRA)' section.