18#ifndef __VSF_USBH_DFU_H__
19#define __VSF_USBH_DFU_H__
25#if VSF_USE_USB_HOST == ENABLED && VSF_USBH_USE_DFU == ENABLED
33#define vk_usbh_dfu_downlaod(__dfu, __buffer, __size) \
34 __vk_usbh_dfu_operate((__dfu), (__buffer), (__size), USB_DFUREQ_DNLOAD)
35#define vk_usbh_dfu_uplaod(__dfu, __buffer, __size) \
36 __vk_usbh_dfu_operate((__dfu), (__buffer), (__size), USB_DFUREQ_UPLOAD)
vsf_err_t
Definition __type.h:42
Definition vsf_usbh.h:268
unsigned char uint8_t
Definition lvgl.h:40
unsigned int uint_fast32_t
Definition stdint.h:27
uint32_t size
Definition vsf_memfs.h:50
vsf_err_t __vk_usbh_dfu_operate(void *dfu_ptr, uint8_t *buffer, uint_fast32_t size, uint8_t request)
Definition vsf_usbh_dfu.c:249
vsf_err_t vk_usbh_dfu_get_result(void *dfu_ptr)
Definition vsf_usbh_dfu.c:244
const vk_usbh_class_drv_t vk_usbh_dfu_drv
Definition vsf_usbh_dfu.c:77