This commit is contained in:
2024-12-06 17:51:11 +08:00
parent 16767ae172
commit 138fc45e27
6 changed files with 303 additions and 44 deletions

View File

@@ -45,9 +45,9 @@
/* select a system clock by uncommenting the following line */
//#define __SYSTEM_CLOCK_8M_HXTAL (__HXTAL)
//#define __SYSTEM_CLOCK_8M_IRC8M (__IRC8M)
#define __SYSTEM_CLOCK_8M_IRC8M (__IRC8M)
// #define __SYSTEM_CLOCK_72M_PLL_HXTAL (uint32_t)(72000000)
#define __SYSTEM_CLOCK_72M_PLL_IRC8M_DIV2 (uint32_t)(72000000)
// #define __SYSTEM_CLOCK_72M_PLL_IRC8M_DIV2 (uint32_t)(72000000)
#define RCU_MODIFY(__delay) do{ \
volatile uint32_t i; \