2022-03-29 08:19:12 +00:00
|
|
|
#include "ch32v30x_conf.h"
|
|
|
|
|
2022-03-29 14:43:47 +00:00
|
|
|
/**
|
|
|
|
* @brief Initialize IOMUX.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
void BOARD_IOMUX_Init(void) {
|
|
|
|
/* The official devkit (CH32V307V-R1-1v0)
|
|
|
|
* does not have any LEDs directly connected to the MCU,
|
|
|
|
* and does not have any buttons directly connected to the MCU either...
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Initialize on-board peripherals.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
void BOARD_Peripheral_Init(void) {
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Configure system clock,
|
|
|
|
* If you are not satisfied with the default options.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
void BOARD_SystemClock_Config(void) {
|
|
|
|
|
|
|
|
// After you are done playing with RCC...
|
|
|
|
SystemCoreClockUpdate();
|
2022-03-29 08:19:12 +00:00
|
|
|
}
|