摘要: 花了一天的时间,总算是了解了SystemInit()函数实现了哪些功能,初学STM32,,现记录如下(有理解错误的地方还请大侠指出):使用的是3.5的库,用的是STM32F107VC,开发环境RVMDK4.23我已经定义了STM32F10X_CL,SYSCLK_FREQ_72MHz函数调用顺序:startup_stm32f10x_cl.s(启动文件) → SystemInit() → SetSysClock() →SetSysClockTo72()初始化时钟用到的RCC寄存器复位值:RCC_CR = 0x0000 xx83; RCC_CFGR = 0x0000 0000;RCC_CIR = 0 阅读全文
posted @ 2014-02-27 15:13 小丁^_^ 阅读(2596) 评论(0) 推荐(0) 编辑
摘要: Conversion SpecificationOutput%aFloating-point number, hexadecimal digits and p-notation (C99).%AFloating-point number, hexadecimal digits and P-notation (C99).%cSingle character.%dSigned decimal integer.%eFloating-point number, e-notation.%EFloating-point number, e-notation.%fFloating-point number, 阅读全文
posted @ 2014-02-27 10:23 小丁^_^ 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 在头文件 中 1 /* exact-width signed integer types */ 2 typedef signed char int8_t; 3 typedef signed short int int16_t; 4 typedef signed int int32_t; 5 typedef signed __int64 int64_t; 6 7 /* exact-width unsigned integer types */ 8 typedef unsigned ch... 阅读全文
posted @ 2014-02-27 09:28 小丁^_^ 阅读(300) 评论(0) 推荐(0) 编辑