Home
last modified time | relevance | path

Searched refs:cfgidx (Results 1 – 6 of 6) sorted by relevance

/loramac-node-3.7.0/src/boards/mcu/stm32/STM32_USB_Device_Library/Core/Src/
Dusbd_ctlreq.c495 static uint8_t cfgidx; in USBD_SetConfig() local
497 cfgidx = (uint8_t)(req->wValue); in USBD_SetConfig()
499 if (cfgidx > USBD_MAX_NUM_CONFIGURATION ) in USBD_SetConfig()
508 if (cfgidx) in USBD_SetConfig()
510 pdev->dev_config = cfgidx; in USBD_SetConfig()
512 if(USBD_SetClassConfig(pdev , cfgidx) == USBD_FAIL) in USBD_SetConfig()
526 if (cfgidx == 0) in USBD_SetConfig()
529 pdev->dev_config = cfgidx; in USBD_SetConfig()
530 USBD_ClrClassConfig(pdev , cfgidx); in USBD_SetConfig()
534 else if (cfgidx != pdev->dev_config) in USBD_SetConfig()
[all …]
Dusbd_core.c227 USBD_StatusTypeDef USBD_SetClassConfig(USBD_HandleTypeDef *pdev, uint8_t cfgidx) in USBD_SetClassConfig() argument
234 if(pdev->pClass->Init(pdev, cfgidx) == 0) in USBD_SetClassConfig()
249 USBD_StatusTypeDef USBD_ClrClassConfig(USBD_HandleTypeDef *pdev, uint8_t cfgidx) in USBD_ClrClassConfig() argument
252 pdev->pClass->DeInit(pdev, cfgidx); in USBD_ClrClassConfig()
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32_USB_Device_Library/Class/CDC/Src/
Dusbd_cdc.c108 uint8_t cfgidx);
111 uint8_t cfgidx);
476 uint8_t cfgidx) in USBD_CDC_Init() argument
564 uint8_t cfgidx) in USBD_CDC_DeInit() argument
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32_USB_Device_Library/Core/Inc/
Dusbd_core.h98 USBD_StatusTypeDef USBD_SetClassConfig(USBD_HandleTypeDef *pdev, uint8_t cfgidx);
99 USBD_StatusTypeDef USBD_ClrClassConfig(USBD_HandleTypeDef *pdev, uint8_t cfgidx);
Dusbd_def.h162 uint8_t (*Init) (struct _USBD_HandleTypeDef *pdev , uint8_t cfgidx);
163 uint8_t (*DeInit) (struct _USBD_HandleTypeDef *pdev , uint8_t cfgidx);
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32_USB_Device_Library/Class/DFU/Src/
Dusbd_dfu.c112 uint8_t cfgidx);
115 uint8_t cfgidx);
287 uint8_t cfgidx) in USBD_DFU_Init() argument
334 uint8_t cfgidx) in USBD_DFU_DeInit() argument