App_USBD_EventCfgSet

App_USBD_EventCfgSet

Description

Set configuration callback function.

Files

Application (template in app_usbd.c)

Prototype

static void App_USBD_EventCfgSet (CPU_INT08U dev_nbr, CPU_INT08U cfg_val);

 

Arguments

dev_nbr

Device number.

cfg_val

Active device configuration number selected by the host. 

Returned Value

None.

Callers

Core.

Notes / Warnings

This function is registered to the core by having a pointer to it in the USBD_BUS_FNCTS structure passed as a parameter when calling USBD_DevAdd.