| поискавой системы для электроныых деталей |
|
RM0312 датащи(PDF) 235 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
RM0312 датащи(HTML) 235 Page - STMicroelectronics |
|
235 / 275 page ![]() DocID022352 Rev 3 235/275 RM0312 Universal synchronous/asynchronous receiver transmitter (USART) 249 Configurable STOP bits during reception The number of STOP bits to be received can be configured through the control bits of Control Register 3 - it can be either 1 or 2. 1. 1 STOP bit: Sampling for 1 STOP bit is done on the 8th, 9th and 10th samples. 2. 2 STOP bits: Sampling for 2 STOP bits is done on the 8th, 9th and 10th samples of the first STOP bit.If a framing error is detected during the first STOP bit the framing error flag will be set. The second STOP bit is not checked for framing error. The RXNE flag will be set at the end of the first STOP bit. 21.3.4 High precision baud rate generator The receiver and transmitter (Rx and Tx) are both set to the same baud rate programmed by a 16-bit divider USART_DIV according to the following formula: The USART_DIV baud rate divider is an unsigned integer, coded in the BRR1 and BRR2 registers as shown in Figure 87. Refer to Table 46 for typical baud rate programming examples. Figure 87. How to code USART_DIV in the BRR registers Note: The Baud Counters will be updated with the new value of the Baud Registers after a write to BRR1. Hence the Baud Register value should not be changed during a transaction. The BRR2 should be programmed before BRR1. Note: USART_DIV must be greater than or equal to 16d. Tx/ Rx baud rate = fMASTER USART_DIV 7 0 7 0 USART_BRR1 USART_BRR2 4 3 Example: To obtain 9600 baud with fMASTER = 16 MHz. USART_DIV[15:12] USART_DIV[11:4] USART_DIV[3:0] USART_DIV = 1667d = 0683h See the following table. register = 03h USART_DIV = 16 000 000/9600 register = 68h 68h 3h 0h |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |