
Nanjing WCH Microelectronics Co. 2024.02
For the latest information, please go to our website.
https://wch.cn


File Directory
  |
  |-- CH32F103:32-bit ARM Cortex-M3 core microcontroller
  |      |-- DS
  |      |      |--CH32F103DS0.PDF:CH32F103 Datasheet
  |      |-- EVT: CH32F103 Evaluation Board and CH32F103 Related Routines
  |      |      |-- PUB: 
  |      |      |      |-- CH32F103 Evaluation Board Manual.pdf: CH32F103 Evaluation Board Description and Project Creation Instructions
  |      |      |      |-- CH32F103SCH.pdf: CH32F103 Evaluation Board Schematic
  |      |      |      |-- SCHPCB: Schematic and PCB of CH32F103 evaluation board
  |      |      |      |-- Keil.WCH32F1xx_DFP.1.0.0.pack: Download Device Pack package
  |      |      |-- EXAM: 
  |      |      |      |-- SRC  
  |      |      |      |      |-- CMSIS: Core system headers
  |      |      |      |      |-- Startup: CH32F103 Series Boot File
  |      |      |      |      |-- StdPeriphDriver:Basic peripheral driver source files and headers
  |      |      |      |      |-- Debug: Delay functions, serial debugging source files and header files
  |      |      |      |-- ADC
  |      |      |      |      |-- ADC_DMA:ADC using DMA sampling routines
  |      |      |      |      |-- AnalogWatchdog:Analog Watchdog Routines
  |      |      |      |      |-- Auto_Injection:Automatic Injection Mode Routine
  |      |      |      |      |-- Discontinuous_mode:Intermittent Mode Routines
  |      |      |      |      |-- ExtLines_Trigger:Externally triggered ADC conversion routines
  |      |      |      |      |-- Internal_Temperature:Internal temperature sensor routines
  |      |      |      |      |-- TIM_Trigger:TIM trigger ADC conversion routine 
  |      |      |      |      |-- Temperature_External_channel:Temperature-External channel Injection alternating inversion routine 
  |      |      |      |-- BKP
  |      |      |      |      |-- BKP:BKP routines
  |      |      |      |-- CAN
  |      |      |      |      |-- Networking:CAN routines: normal mode, standard frame and extended frame data sending and receiving
  |      |      |      |      |-- TestMode:Test modes, including silent mode, loopback mode, loopback silent mode
  |      |      |      |      |-- Time-triggered:Time-triggered communication mode
  |      |      |      |-- CRC
  |      |      |      |      |-- CRC_Calculation:CRC routines  
  |      |      |      |-- DAC
  |      |      |      |      |-- DAC_DMA:DAC using DMA conversion routines
  |      |      |      |      |-- DAC_Exit_9_Trig:Externally triggered DAC conversion routines
  |      |      |      |      |-- DAC_Noise_Generation:Noise waveform output routines
  |      |      |      |      |-- DAC_Normal_OUT:Normal Output Routines
  |      |      |      |      |-- DAC_Timer_Trig:Timer-triggered DAC conversion routines
  |      |      |      |      |-- DAC_Triangle_Generation:Triangle Waveform Output Routine
  |      |      |      |-- DMA
  |      |      |      |      |-- DMA_MEM2MEM:Memory-to-Memory mode routines
  |      |      |      |      |-- DMA_MEM2PERIP:Memory-to-Peripheral Mode, Peripheral-to-Memory Mode routines are available in each peripheral subroutine
  |      |      |      |-- EXTI
  |      |      |      |      |-- EXTI0:External Interrupt Routine  
  |      |      |      |-- FLASH
  |      |      |      |      |-- FLASH_Program:FLASH erase/read/write, and fast programming  
  |      |      |      |-- FreeRTOS
  |      |      |      |      |-- FreeRTOS_Core:FreeRTOS porting routines  
  |      |      |      |-- GPIO
  |      |      |      |      |-- GPIO_Toggle:GPIO routines  
  |      |      |      |-- I2C
  |      |      |      |      |-- I2C_7bit_Mode:7-bit address mode, Master/Slave mode send/receive routines
  |      |      |      |      |-- I2C_10bit_Mode:10-bit address mode, Master/Slave mode send/receive routines
  |      |      |      |      |-- I2C_DMA:I2C using DMA, Master/Slave mode send/receive routines
  |      |      |      |      |-- I2C_EEPROM:I2C interface operation EEPROM peripheral routines
  |      |      |      |      |-- I2C_PEC:Master/Slave mode send/receive routines using PEC error checking
  |      |      |      |-- IWDG
  |      |      |      |      |-- IWDG:Independent Watchdog routine 
  |      |      |      |-- IAP
  |      |      |      |      |-- UART_USB_IAP:IAP Upgrade Routine - Built-in Hex to Bin Tool and IAP Upgrade Tool   
  |      |      |      |-- LiteOS_M
  |      |      |      |      |-- LiteOS_M_Core:LiteOS_M Porting Routine  
  |      |      |      |-- PWR
  |      |      |      |      |-- Sleep_Mode:Low-power consumption, Sleep mode routines
  |      |      |      |      |-- Standby_Mode:Low-power consumption, Standby mode routines
  |      |      |      |      |-- Stop_Mode:Low-power consumption, Stop mode routines
  |      |      |      |      |-- PVD_Wakeup：STOP mode PVD wakeup MCU Routine
  |      |      |      |      |-- PVD_VoltageJudger：PVD voltage Judger Routine
  |      |      |      |-- RCC
  |      |      |      |      |-- MCO:MCO Pin Clock Output Routines
  |      |      |      |      |-- HSI_PLL_Source:HSI or HSI/2 as PLL input clock routines 
  |      |      |      |      |-- HSE_CLK:HSE frequency check routine    
  |      |      |      |      |-- HSI_Calibration：HSI calibrate routine
  |      |      |      |      |-- LSI_Calibration：LSI calibrate routine
  |      |      |      |-- RT-Thread
  |      |      |      |      |-- RT_Thread_Core:RT-Thread porting routines  
  |      |      |      |-- RTC
  |      |      |      |      |-- RTC_Calendar:Calendar Routines  
  |      |      |      |      |-- RTC_Calibration：RTC calibrate Routines   
  |      |      |      |-- SPI
  |      |      |      |      |-- 1Lines_half-duplex:Single-line half-duplex mode,Master/Slave mode data sending and receiving
  |      |      |      |      |-- 2Lines_FullDuplex:Dual-lines full-duplex mode, Master/Slave mode data sending and receiving
  |      |      |      |      |-- FullDuplex_HardNSS:Hardware NSS mode, Master/Slave mode data sending and receiving
  |      |      |      |      |-- SPI_CRC:Master/Slave mode send/receive routines using CRC error checks
  |      |      |      |      |-- SPI_DMA:SPI using DMA, Master/Slave mode send/receive routines
  |      |      |      |      |-- SPI_FLASH:SPI interface operation FLASH peripheral routines
  |      |      |      |      |-- SPI_LCD:SPI interface operation FLASH  and LCD peripheral routines
  |      |      |      |-- SYSTICK 
  |      |      |      |      |-- SYSTICK_Interrupt：Systick timer routine  
  |      |      |      |-- TencentOS_Tiny
  |      |      |      |      |-- TencentOS_Tiny_Core:TencentOS porting routines  
  |      |      |      |-- TIM
  |      |      |      |      |-- Clock_Select:Clock Source Selection Routine
  |      |      |      |      |-- ComplementaryOutput_DeadTime:Complementary output and deadband insertion mode routines
  |      |      |      |      |-- ExtTrigger_Start_Two_Timer:External trigger to start two timer routines synchronously
  |      |      |      |      |-- Input_Capture:Input Capture Routines
  |      |      |      |      |-- One_Pulse:Single Pulse Output Routine
  |      |      |      |      |-- Output_Compare_Mode:Output comparison mode routines
  |      |      |      |      |-- PWM_Output:PWM Output Routines
  |      |      |      |      |-- Synchro_ExtTrigger:Slave mode routines, including reset mode, gated mode, trigger mode
  |      |      |      |      |-- Synchro_Timer:Timer synchronization mode
  |      |      |      |      |-- TIM_DMA:Timer using DMA routines
  |      |      |      |      |-- Encode:Timer encoder mode routines
  |      |      |      |-- TOUCHKEY
  |      |      |      |      |-- TKey:TouchKey Detection Routine  
  |      |      |      |-- USART
  |      |      |      |      |-- USART_DMA:USART using DMA, Master/Slave mode send/receive routines
  |      |      |      |      |-- USART_HalfDuplex:Single-wire half-duplex mode, Master/Slave mode send/receive routines
  |      |      |      |      |-- USART_HardwareFlowControl:Hardware flow control mode, Master/Slave mode send/receive routines
  |      |      |      |      |-- USART_Interrupt:USART interrupt routines, Master/Slave mode send/receive routines
  |      |      |      |      |-- USART_MultiProcessorCommunication:Multi-processor communication mode routines
  |      |      |      |      |-- USART_Polling:Polling transceiver mode, Master/Slave mode transceiver routines
  |      |      |      |      |-- USART_Printf:Serial port printing debugging routines
  |      |      |      |      |-- USART_SynchronousMode:Synchronous mode, Master/Slave mode send/receive routines
  |      |      |      |-- USB
  |      |      |      |      |-- USBD
  |      |      |      |      |      |-- CH372:Simulates a custom USB device (CH372 device) with endpoints 1, 3 down and 2, 4 up. Data down from endpoint 1 is uploaded from endpoint 3 and not reversed, and data down from endpoint 2 is uploaded from endpoint 4 and reversed.
  |      |      |      |      |      |-- Compatibility_HID:Simulation of HID devices, data up and down via serial port
  |      |      |      |      |      |-- CompositeKM:Simulates keyboard and mouse, use I/O to simulate keys, while simulated data can be uploaded through serial port 2.
  |      |      |      |      |      |-- CompositeKM_LowSpeed:Simulates low speed keyboard and mouse, use I/O to simulate keys, while simulated data can be uploaded through serial port 2.
  |      |      |      |      |      |-- MSC_U-Disk: Simulates a simple USB flash drive, optionally using on-chip Flash or external SPI-Flash 
  |      |      |      |      |      |      |-- MSC_CDROM: Simulate CDROM, need external SPI-Flash
  |      |      |      |      |      |-- SimulateCDC:Simulates a CDC serial port and use serial port 2 to send and receive
  |      |      |      |      |-- USBFS
  |      |      |      |      |      |-- DEVICE
  |      |      |      |      |      |      |-- CH372:Simulates a custom USB device (CH372 device) with endpoints 1, 3 ，5down and 2, 4,6 up. Data down from endpoint 1 is uploaded from endpoint 2 and not reversed, and data down from endpoint 3,5 is uploaded from endpoint 4 ,6and reversed.
  |      |      |      |      |      |      |-- Compatibility_HID:Simulates HID devices, with data transmitted up and down through the serial port.
  |      |      |      |      |      |      |-- CompositeKM:Simulate Keyboard and Mouse, use I/O to simulate keys, while simulated data can be uploaded through serial port 2.
  |      |      |      |      |      |      |-- CompositeKM_LowSpeed:Simulate low speed Keyboard and Mouse, use I/O to simulate keys, while simulated data can be uploaded through serial port 2.
  |      |      |      |      |      |      |-- MSC_U-Disk: Simulates a simple USB flash drive, optionally using on-chip Flash or external SPI-Flash
  |      |      |      |      |      |      |-- MSC_CDROM: Simulate CDROM, need external SPI-Flash
  |      |      |      |      |      |      |-- SimulateCDC:Simulate a CDC serial port and use serial port 2 to send and receive. 
  |      |      |      |      |      |-- HOST_IAP
  |      |      |      |      |      |      |-- APP: APP used with HOST_IAP, the project has modified the starting location of the program, after compilation, you need to convert the file into a bin file and rename it to APP.bin
  |      |      |      |      |      |      |-- HOST_IAP:  The host U disk IAP routine based on the U disk read file routine finishing, read the file with the name bit APP.bin from the U disk, write it to the internal flash, check it and jump automatically.
  |      |      |      |      |      |-- HOST_KM: The host operates the Keyboard and Mouse, gets the data of the endpoints uploaded by the Keyboard and Mouse and prints it, supports U-port under level 1 hub
  |      |      |      |      |      |-- HOST_MTP_FileSystem:Enumeration process of a USB host to a device that supports MTP and PTP protocols, supports MTP and PTP protocols, and reads its files  
  |      |      |      |      |      |-- Host_Udisk:USB host operation USB disk routine 
  |      |      |      |-- WWDG
  |      |      |      |      |-- WWDG:Window Watchdog Routine