VSF Documented
Macros
device.h File Reference
#include "hal/vsf_hal_cfg.h"
#include "../common/__common.h"

Go to the source code of this file.

Macros

#define __HAL_DEVICE_GEEHY_APM32F407_H__
 
#define VSF_DEV_SWI_LIST   70, 74, 75, 79, 80, 85, 86, 87, 88, 89, 90, 93, 95, 96, 97, 98, 99, 100, 101
 
#define VSF_HW_USB_OTG_COUNT   2
 
#define USB_DWCOTG_MAX_EP_NUM   16
 
#define VSF_HW_USB_OTG0_IRQHandler   OTGFS1_IRQHandler
 
#define VSF_HW_USB_OTG0_CONFIG
 
#define VSF_HW_USB_OTG1_IRQHandler   OTGFS2_IRQHandler
 
#define VSF_HW_USB_OTG1_CONFIG
 

Macro Definition Documentation

◆ __HAL_DEVICE_GEEHY_APM32F407_H__

#define __HAL_DEVICE_GEEHY_APM32F407_H__

◆ VSF_DEV_SWI_LIST

#define VSF_DEV_SWI_LIST   70, 74, 75, 79, 80, 85, 86, 87, 88, 89, 90, 93, 95, 96, 97, 98, 99, 100, 101

◆ VSF_HW_USB_OTG_COUNT

#define VSF_HW_USB_OTG_COUNT   2

◆ USB_DWCOTG_MAX_EP_NUM

#define USB_DWCOTG_MAX_EP_NUM   16

◆ VSF_HW_USB_OTG0_IRQHandler

#define VSF_HW_USB_OTG0_IRQHandler   OTGFS1_IRQHandler

◆ VSF_HW_USB_OTG0_CONFIG

#define VSF_HW_USB_OTG0_CONFIG
Value:
.dc_ep_num = 8 << 1, \
.hc_ep_num = 16, \
.reg = (void *)OTGFS1_BASE, \
.irq = OTGFS1_IRQn, \
/* vk_dwcotg_hw_info_t */ \
.buffer_word_size = 320, \
.speed = USB_SPEED_FULL, \
.dma_en = false, \
.ulpi_en = false, \
.utmi_en = false, \
.vbus_en = false,
@ USB_SPEED_FULL
Definition usb_common.h:269

◆ VSF_HW_USB_OTG1_IRQHandler

#define VSF_HW_USB_OTG1_IRQHandler   OTGFS2_IRQHandler

◆ VSF_HW_USB_OTG1_CONFIG

#define VSF_HW_USB_OTG1_CONFIG
Value:
.dc_ep_num = 8 << 1, \
.hc_ep_num = 16, \
.reg = (void *)OTGFS2_BASE, \
.irq = OTGFS2_IRQn, \
/* vk_dwcotg_hw_info_t */ \
.buffer_word_size = 320, \
.speed = USB_SPEED_FULL, \
.dma_en = false, \
.ulpi_en = false, \
.utmi_en = false, \
.vbus_en = false,