| 数据搜索系统,热门电子元器件搜索 |
|
STM8S 数据表(PDF) 329 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STM8S 数据表(HTML) 329 Page - STMicroelectronics |
|
329 / 467 page ![]() DocID14587 Rev 14 329/467 RM0016 Universal asynchronous receiver transmitter (UART) 377 Figure 115. Configurable stop bits Procedure: 1. Program the M bit in UART_CR1 to define the word length. 2. Program the number of stop bits in UART_CR3. 3. Select the desired baud rate by programming the baud rate registers in the following order: a) UART_BRR2 b) UART_BRR1 4. Set the TEN bit in UART_CR2 to enable transmitter mode. 5. Write the data to send in the UART_DR register (this clears the TXE bit). Repeat this for each data to be transmitted in case of single buffer. 6. Once the last data is written to the UART_DR register, wait until TC is set to ‘1’, which indicates that the last data transmission is complete. This last step is required, for instance, to avoid last data transmission corruption when disabling the UART or entering Halt mode. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |