Go to the documentation of this file.
25#if defined(__VSF_HEADER_ONLY_SHOW_ARCH_INFO__)
27#define VSF_ARCH_PRI_NUM 16
28#define VSF_ARCH_PRI_BIT 4
32#define VSF_DEV_SWI_NUM 0
36#ifndef __HAL_DEVICE_WCH_CH32F103C8_H__
37#define __HAL_DEVICE_WCH_CH32F103C8_H__
39#define VSF_DEV_SWI_LIST
44#include "../common/vendor/inc/ch32f10x.h"
45#include "../common/__common.h"
49#ifndef CH32F10X_HSE_FREQ_HZ
50# define CH32F10X_HSE_FREQ_HZ (12 * 1000 * 1000)
53#ifndef CH32F10X_LSE_FREQ_HZ
54# define CH32F10X_LSE_FREQ_HZ (32768)
57#ifndef CH32F10X_PLL_FREQ_HZ
58# define CH32F10X_PLL_FREQ_HZ (72 * 1000 * 1000)
61#ifndef CH32F10X_SYS_FREQ_HZ
62# define CH32F10X_SYS_FREQ_HZ (72 * 1000 * 1000)
65#ifndef CH32F10X_AHB_FREQ_HZ
66# define CH32F10X_AHB_FREQ_HZ (72 * 1000 * 1000)
69#ifndef CH32F10X_APB1_FREQ_HZ
70# define CH32F10X_APB1_FREQ_HZ (72 * 1000 * 1000)
73#ifndef CH32F10X_APB2_FREQ_HZ
74# define CH32F10X_APB2_FREQ_HZ (72 * 1000 * 1000)
77#ifndef CH32F10X_VECTOR_TABLE
81#define USB_HDC_COUNT 1
82#define USB_HDC_REG_BASE 0x40023400
83#define USB_HDC_IRQN USBHD_IRQn
84#define USB_HDC_IRQHandler USBHD_IRQHandler
87#define USB_DC_EP_NUM 8
88#define USB_DC_LP_IRQN USB_LP_CAN1_RX0_IRQn
89#define USB_DC_HP_IRQN USB_HP_CAN1_TX_IRQn
90#define USB_DC_REG_BASE 0x40005C00L
91#define USB_DC_PMA_BASE 0x40006000L
93#define USB_DC0_TYPE usbd
94#define USB_DC0_IRQHandler USB_LP_CAN1_RX0_IRQHandler