Functions | |
static void | DFU_LeaveDFUMode (void *pdev) |
DFU_LeaveDFUMode Handles the sub-protocol DFU leave DFU mode request (leaves DFU mode and resets device to jump to user loaded code). More... | |
static void | DFU_Req_ABORT (void *pdev) |
DFU_Req_ABORT Handles the DFU ABORT request. More... | |
static void | DFU_Req_CLRSTATUS (void *pdev) |
DFU_Req_CLRSTATUS Handles the DFU CLRSTATUS request. More... | |
static void | DFU_Req_DETACH (void *pdev, USB_SETUP_REQ *req) |
DFU_Req_DETACH Handles the DFU DETACH request. More... | |
static void | DFU_Req_DNLOAD (void *pdev, USB_SETUP_REQ *req) |
DFU_Req_DNLOAD Handles the DFU DNLOAD request. More... | |
static void | DFU_Req_GETSTATE (void *pdev) |
DFU_Req_GETSTATE Handles the DFU GETSTATE request. More... | |
static void | DFU_Req_GETSTATUS (void *pdev) |
DFU_Req_GETSTATUS Handles the DFU GETSTATUS request. More... | |
static void | DFU_Req_UPLOAD (void *pdev, USB_SETUP_REQ *req) |
DFU_Req_UPLOAD Handles the DFU UPLOAD request. More... | |
static uint8_t | EP0_RxReady (void *pdev) |
EP0_RxReady Handles the DFU control endpoint data OUT stage. More... | |
static uint8_t | EP0_TxSent (void *pdev) |
EP0_TxSent Handles the DFU control endpoint data IN stage. More... | |
static uint8_t | usbd_dfu_DeInit (void *pdev, uint8_t cfgidx) |
usbd_dfu_Init De-initializes the DFU layer. More... | |
static uint8_t * | USBD_DFU_GetCfgDesc (uint8_t speed, uint16_t *length) |
USBD_DFU_GetCfgDesc Returns configuration descriptor. More... | |
static uint8_t * | USBD_DFU_GetUsrStringDesc (uint8_t speed, uint8_t index, uint16_t *length) |
USBD_DFU_GetUsrStringDesc Manages the transfer of memory interfaces string descriptors. More... | |
static uint8_t | usbd_dfu_Init (void *pdev, uint8_t cfgidx) |
usbd_dfu_Init Initializes the DFU interface. More... | |
static uint8_t | usbd_dfu_Setup (void *pdev, USB_SETUP_REQ *req) |
usbd_dfu_Setup Handles the DFU request parsing. More... | |
|
static |
DFU_LeaveDFUMode Handles the sub-protocol DFU leave DFU mode request (leaves DFU mode and resets device to jump to user loaded code).
pdev | device instance |
None |
Definition at line 953 of file usbd_dfu_core.c.
|
static |
DFU_Req_ABORT Handles the DFU ABORT request.
pdev | device instance |
None |
Definition at line 928 of file usbd_dfu_core.c.
|
static |
DFU_Req_CLRSTATUS Handles the DFU CLRSTATUS request.
pdev | device instance |
status |
Definition at line 884 of file usbd_dfu_core.c.
|
static |
DFU_Req_DETACH Handles the DFU DETACH request.
pdev | device instance |
req | pointer to the request structure. |
None. |
Definition at line 635 of file usbd_dfu_core.c.
|
static |
DFU_Req_DNLOAD Handles the DFU DNLOAD request.
pdev | device instance |
req | pointer to the request structure |
None |
Definition at line 674 of file usbd_dfu_core.c.
|
static |
DFU_Req_GETSTATE Handles the DFU GETSTATE request.
pdev | device instance |
None |
Definition at line 914 of file usbd_dfu_core.c.
|
static |
DFU_Req_GETSTATUS Handles the DFU GETSTATUS request.
pdev | instance |
status |
Definition at line 818 of file usbd_dfu_core.c.
|
static |
DFU_Req_UPLOAD Handles the DFU UPLOAD request.
pdev | instance |
req | pointer to the request structure |
status |
Definition at line 729 of file usbd_dfu_core.c.
|
static |
EP0_RxReady Handles the DFU control endpoint data OUT stage.
pdev | device instance |
status |
Definition at line 619 of file usbd_dfu_core.c.
|
static |
EP0_TxSent Handles the DFU control endpoint data IN stage.
pdev | device instance |
status |
Definition at line 545 of file usbd_dfu_core.c.
|
static |
usbd_dfu_Init De-initializes the DFU layer.
pdev | device instance |
cfgidx | Configuration index |
status |
Definition at line 428 of file usbd_dfu_core.c.
|
static |
USBD_DFU_GetCfgDesc Returns configuration descriptor.
speed | : current device speed |
length | : pointer data length |
pointer | to descriptor buffer |
Definition at line 995 of file usbd_dfu_core.c.
|
static |
USBD_DFU_GetUsrStringDesc Manages the transfer of memory interfaces string descriptors.
speed | : current device speed |
index | desciptor index |
length | : pointer data length |
pointer | to the descriptor table or NULL if the descriptor is not supported. |
Definition at line 1024 of file usbd_dfu_core.c.
|
static |
usbd_dfu_Init Initializes the DFU interface.
pdev | device instance |
cfgidx | Configuration index |
status |
Definition at line 407 of file usbd_dfu_core.c.
|
static |
usbd_dfu_Setup Handles the DFU request parsing.
pdev | instance |
req | usb requests |
status |
Definition at line 451 of file usbd_dfu_core.c.