| 전자부품 데이터시트 검색엔진 |
|
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. |
|
링크 URL |
| 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 |