The baud rate for the receiver and transmitter (Rx and Tx) are both set to the same value as programmed in the Mantissa and Fraction values of USARTDIV. 从上图可以看出,该寄存器高 16 位无效,最低 4 位为小数部分,其余部分为整数部分. 这样的设计可以使波特率更加精确.关于波特率的产生,有这么一段话来解释: 分数波特率的产生: 接收器和发送
;******************** (C) COPYRIGHT 2010 STMicroelectronics ******************** ;* File Name : startup_stm32f10x_hd.s ;* Author : MCD Application Team ;* Version : V3.4.0 ;* Date : 10/15/2010 ;* Description : STM32F10x High Density Devices vector ta