Home
last modified time | relevance | path

Searched refs:dev_state (Results 1 – 5 of 5) sorted by relevance

/loramac-node-3.7.0/src/boards/mcu/stm32/STM32_USB_Device_Library/Class/DFU/Src/
Dusbd_dfu.c308 hdfu->dev_state = DFU_STATE_IDLE; in USBD_DFU_Init()
342 hdfu->dev_state = DFU_STATE_IDLE; in USBD_DFU_DeInit()
510 if (hdfu->dev_state == DFU_STATE_DNLOAD_BUSY) in USBD_DFU_EP0_TxReady()
566 hdfu->dev_state = DFU_STATE_DNLOAD_SYNC; in USBD_DFU_EP0_TxReady()
571 hdfu->dev_status[4] = hdfu->dev_state; in USBD_DFU_EP0_TxReady()
574 else if (hdfu->dev_state == DFU_STATE_MANIFEST)/* Manifestation in progress*/ in USBD_DFU_EP0_TxReady()
700 if (hdfu->dev_state == DFU_STATE_IDLE || hdfu->dev_state == DFU_STATE_DNLOAD_SYNC in DFU_Detach()
701 || hdfu->dev_state == DFU_STATE_DNLOAD_IDLE || hdfu->dev_state == DFU_STATE_MANIFEST_SYNC in DFU_Detach()
702 || hdfu->dev_state == DFU_STATE_UPLOAD_IDLE ) in DFU_Detach()
705 hdfu->dev_state = DFU_STATE_IDLE; in DFU_Detach()
[all …]
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32_USB_Device_Library/Core/Src/
Dusbd_core.c118 pdev->dev_state = USBD_STATE_DEFAULT; in USBD_Init()
135 pdev->dev_state = USBD_STATE_DEFAULT; in USBD_DeInit()
320 (pdev->dev_state == USBD_STATE_CONFIGURED)) in USBD_LL_DataOutStage()
329 (pdev->dev_state == USBD_STATE_CONFIGURED)) in USBD_LL_DataOutStage()
386 (pdev->dev_state == USBD_STATE_CONFIGURED)) in USBD_LL_DataInStage()
401 (pdev->dev_state == USBD_STATE_CONFIGURED)) in USBD_LL_DataInStage()
433 pdev->dev_state = USBD_STATE_DEFAULT; in USBD_LL_Reset()
466 pdev->dev_old_state = pdev->dev_state; in USBD_LL_Suspend()
467 pdev->dev_state = USBD_STATE_SUSPENDED; in USBD_LL_Suspend()
480 pdev->dev_state = pdev->dev_old_state; in USBD_LL_Resume()
[all …]
Dusbd_ctlreq.c174 switch (pdev->dev_state) in USBD_StdItfReq()
228 switch (pdev->dev_state) in USBD_StdEPReq()
259 switch (pdev->dev_state) in USBD_StdEPReq()
287 switch (pdev->dev_state) in USBD_StdEPReq()
458 if (pdev->dev_state == USBD_STATE_CONFIGURED) in USBD_SetAddress()
470 pdev->dev_state = USBD_STATE_ADDRESSED; in USBD_SetAddress()
474 pdev->dev_state = USBD_STATE_DEFAULT; in USBD_SetAddress()
505 switch (pdev->dev_state) in USBD_SetConfig()
511 pdev->dev_state = USBD_STATE_CONFIGURED; in USBD_SetConfig()
528 pdev->dev_state = USBD_STATE_ADDRESSED; in USBD_SetConfig()
[all …]
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32_USB_Device_Library/Class/DFU/Inc/
Dusbd_dfu.h165 uint8_t dev_state; member
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32_USB_Device_Library/Core/Inc/
Dusbd_def.h236 uint8_t dev_state; member