VSF Documented
|
#include "component/usb/vsf_usb_cfg.h"
#include "../../../common/class/DFU/vsf_usb_DFU.h"
#include "./vsf_usbd_DFU_desc.h"
#include "utilities/ooc_class.h"
Go to the source code of this file.
Data Structures | |
class | vk_usbd_dfu_t |
Macros | |
#define | USB_DFU_IFS_NUM 1 |
#define | __usbd_dfu_desc_iad(__name, __ifs_start, __i_func, __protocol, __dfu_attr, __detach_timeout, __transfer_size) USB_DESC_DFU_IAD((__ifs_start), (__i_func), (__protocol), (__dfu_attr), (__detach_timeout), (__transfer_size)) |
#define | __usbd_dfu_desc(__name, __ifs_start, __i_func, __protocol, __dfu_attr, __detach_timeout, __transfer_size) USB_DESC_DFU((__ifs_start), (__i_func), (__protocol), (__dfu_attr), (__detach_timeout), (__transfer_size)) |
#define | USB_DFU_PARAM(__PROTOCOL, __DFU_ATTR, __TRANSFER_SIZE, __TRANSFER_BUFFER) |
#define | __usbd_dfu_func1(__name, __func_id, __protocol, __dfu_attr, __transfer_size, __transfer_buffer) |
#define | __usbd_dfu_func0(__name, __func_id, __protocol, __dfu_attr, __transfer_size) |
#define | __usbd_dfu_func(__name, __func_id, __protocol, __dfu_attr, __transfer_size, ...) __PLOOC_EVAL(__usbd_dfu_func, __VA_ARGS__)(__name, __func_id, (__protocol), (__dfu_attr), (__transfer_size), ##__VA_ARGS__) |
#define | __usbd_dfu_ifs(__name, __func_id) USB_IFS(&vk_usbd_dfu, &__##__name##_DFU##__func_id) |
#define | usbd_dfu_desc(__name, __ifs_start, __i_func, __protocol, __dfu_attr, __detach_timeout, __transfer_size) __usbd_dfu_desc(__name, (__ifs_start), __i_func, (__protocol), (__dfu_attr), (__detach_timeout), (__transfer_size)) |
#define | usbd_dfu_desc_iad(__name, __ifs_start, __i_func, __protocol, __dfu_attr, __detach_timeout, __transfer_size) __usbd_dfu_desc_iad(__name, (__ifs_start), __i_func, (__protocol), (__dfu_attr), (__transfer_size)) |
#define | usbd_dfu_func(__name, __func_id, __protocol, __dfu_attr, __transfer_size, ...) __usbd_dfu_func(__name, __func_id, (__protocol), (__dfu_attr), (__transfer_size), ##__VA_ARGS__) |
#define | usbd_dfu_ifs(__name, __func_id) __usbd_dfu_ifs(__name, __func_id) |
Functions | |
void | vk_usbd_dfu_downloaded (vk_usbd_dfu_t *dfu, vsf_err_t result) |
Variables | |
const vk_usbd_class_op_t | vk_usbd_dfu |
#define USB_DFU_IFS_NUM 1 |
#define __usbd_dfu_desc_iad | ( | __name, | |
__ifs_start, | |||
__i_func, | |||
__protocol, | |||
__dfu_attr, | |||
__detach_timeout, | |||
__transfer_size | |||
) | USB_DESC_DFU_IAD((__ifs_start), (__i_func), (__protocol), (__dfu_attr), (__detach_timeout), (__transfer_size)) |
#define __usbd_dfu_desc | ( | __name, | |
__ifs_start, | |||
__i_func, | |||
__protocol, | |||
__dfu_attr, | |||
__detach_timeout, | |||
__transfer_size | |||
) | USB_DESC_DFU((__ifs_start), (__i_func), (__protocol), (__dfu_attr), (__detach_timeout), (__transfer_size)) |
#define USB_DFU_PARAM | ( | __PROTOCOL, | |
__DFU_ATTR, | |||
__TRANSFER_SIZE, | |||
__TRANSFER_BUFFER | |||
) |
#define __usbd_dfu_func1 | ( | __name, | |
__func_id, | |||
__protocol, | |||
__dfu_attr, | |||
__transfer_size, | |||
__transfer_buffer | |||
) |
#define __usbd_dfu_func0 | ( | __name, | |
__func_id, | |||
__protocol, | |||
__dfu_attr, | |||
__transfer_size | |||
) |
#define __usbd_dfu_func | ( | __name, | |
__func_id, | |||
__protocol, | |||
__dfu_attr, | |||
__transfer_size, | |||
... | |||
) | __PLOOC_EVAL(__usbd_dfu_func, __VA_ARGS__)(__name, __func_id, (__protocol), (__dfu_attr), (__transfer_size), ##__VA_ARGS__) |
#define __usbd_dfu_ifs | ( | __name, | |
__func_id | |||
) | USB_IFS(&vk_usbd_dfu, &__##__name##_DFU##__func_id) |
#define usbd_dfu_desc | ( | __name, | |
__ifs_start, | |||
__i_func, | |||
__protocol, | |||
__dfu_attr, | |||
__detach_timeout, | |||
__transfer_size | |||
) | __usbd_dfu_desc(__name, (__ifs_start), __i_func, (__protocol), (__dfu_attr), (__detach_timeout), (__transfer_size)) |
#define usbd_dfu_desc_iad | ( | __name, | |
__ifs_start, | |||
__i_func, | |||
__protocol, | |||
__dfu_attr, | |||
__detach_timeout, | |||
__transfer_size | |||
) | __usbd_dfu_desc_iad(__name, (__ifs_start), __i_func, (__protocol), (__dfu_attr), (__transfer_size)) |
#define usbd_dfu_func | ( | __name, | |
__func_id, | |||
__protocol, | |||
__dfu_attr, | |||
__transfer_size, | |||
... | |||
) | __usbd_dfu_func(__name, __func_id, (__protocol), (__dfu_attr), (__transfer_size), ##__VA_ARGS__) |
#define usbd_dfu_ifs | ( | __name, | |
__func_id | |||
) | __usbd_dfu_ifs(__name, __func_id) |
|
extern |
|
extern |