18#ifndef __VSF_MUSB_FDRC_COMMON_H__
19#define __VSF_MUSB_FDRC_COMMON_H__
25#if ( (VSF_USE_USB_DEVICE == ENABLED) \
26 && (VSF_USBD_USE_DCD_MUSB_FDRC == ENABLED)) \
27 || ( (VSF_USE_USB_HOST == ENABLED) \
28 && (VSF_USBH_USE_HCD_MUSB_FDRC == ENABLED))
void vk_musb_fdrc_write_fifo(vk_musb_fdrc_reg_t *reg, uint_fast8_t ep, uint8_t *buffer, uint_fast16_t size)
Definition __vsf_musb_fdrc_common.c:172
void vk_musb_fdrc_set_mask(volatile uint8_t *reg, uint_fast8_t ep)
Definition __vsf_musb_fdrc_common.c:39
uint16_t vk_musb_fdrc_set_fifo(vk_musb_fdrc_reg_t *reg, uint_fast8_t ep, usb_ep_type_t type, uint16_t pos, uint_fast16_t size, uint_fast8_t size_msk)
Definition __vsf_musb_fdrc_common.c:105
void vk_musb_fdrc_clear_mask(volatile uint8_t *reg, uint_fast8_t ep)
Definition __vsf_musb_fdrc_common.c:49
void vk_musb_fdrc_interrupt_init(vk_musb_fdrc_reg_t *reg)
Definition __vsf_musb_fdrc_common.c:65
void vk_musb_fdrc_fifo_init(vk_musb_fdrc_reg_t *reg)
Definition __vsf_musb_fdrc_common.c:97
uint16_t vk_musb_fdrc_get_mask(volatile uint8_t *reg)
Definition __vsf_musb_fdrc_common.c:59
uint_fast8_t vk_musb_fdrc_set_ep(vk_musb_fdrc_reg_t *reg, uint_fast8_t ep)
Definition __vsf_musb_fdrc_common.c:192
void vk_musb_fdrc_read_fifo(vk_musb_fdrc_reg_t *reg, uint_fast8_t ep, uint8_t *buffer, uint_fast16_t size)
Definition __vsf_musb_fdrc_common.c:152
uint_fast16_t vk_musb_fdrc_rx_fifo_size(vk_musb_fdrc_reg_t *reg, uint_fast8_t ep)
Definition __vsf_musb_fdrc_common.c:74
unsigned short uint16_t
Definition lvgl.h:41
unsigned char uint8_t
Definition lvgl.h:40
unsigned char uint_fast8_t
Definition stdint.h:23
unsigned short uint_fast16_t
Definition stdint.h:25
Definition vsf_musb_fdrc_hw.h:255
vk_av_control_type_t type
Definition vsf_audio.h:170
uint32_t size
Definition vsf_memfs.h:50
usb_ep_type_t
Definition vsf_template_usb.h:277