随笔分类 - STM32
study notes of STM32
摘要:TIM_Period is the value to be placed in the automatic reload register when the timer is configured.TIM_Prescaler is used to set the prescaler.The cloc
阅读全文
摘要:I write a simple interrupt program about timer of STM32,when I debug this program with hardware debugging,it is correct if I step through the function
阅读全文
摘要:USART:Universal Synchronous/Asynchronous Receiver/Transmitter通用同步异步收发器(STM32中就是这个) UART:通用异步收发器, 当进行异步通信时,两个是没有区别的,区别在域USART比UART多了同步通信功能,这个同步通信功能可以把U
阅读全文
摘要:STM32的固件库可以到官网上面进行下载,这里以V3.5版本为例进行介绍。 libraries下面主要有CMSIS和driver两个目录,在CMSIS/CM3的coresupport里面的core_cm3.c和.h是ARM公司提供的核心文件, CMSIS/CM3的devicesupport,这里面主
阅读全文
摘要:GPIO的英文全称General-Purpose Input /Output Ports,中文意思是通用I/O端口。 GPIO的八种工作模式, (1)GPIO_Mode_AIN 模拟输入 (2)GPIO_Mode_IN_FLOATING 浮空输入 (3)GPIO_Mode_IPD 下拉输入 (4)G
阅读全文
浙公网安备 33010602011771号