测试软件IIC

This commit is contained in:
2024-12-28 14:20:30 +08:00
parent ce6289a82a
commit 6792caa04f
5 changed files with 90 additions and 8 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; \