| поискавой системы для электроныых деталей |
|
ST20-GP6 датащи(PDF) 86 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST20-GP6 датащи(HTML) 86 Page - STMicroelectronics |
|
86 / 123 page ![]() ST20-GP6 86/123 The baud rate and the required reload value for a given baud rate can be determined by the follow- ing formulae: where: <ASCBaudRate> represents the content of the ASCBaudRate register, taken as unsigned 16-bit integer, fCPU is the frequency of the CPU. Table 15.3 lists various commonly used baud rates together with the required reload values and the rounded deviation errors for an example baud rate with a CPU clock of 32.736 MHz. 15.4 Interrupt control The ASC has a single interrupt coming out of it, called ASC_interrupt. The status bits in the ASC- Status register determine the cause of the interrupt. ASC_interrupt will go high when a status bit is 1 (high) and the corresponding bit in the ASCIntEnable register is 1. Note the status register cannot be written to directly by software. The reset mechanism for the sta- tus register is described below. The following diagram illustrates the situation. Baud rate Reload value (exact) Reload value (integer) Reload value (hex) Deviation error 38400 53.28125 53 35 -0.53% 28800 71.04167 71 47 -0.06% 19200 106.5625 107 6B 0.41% 14400 142.0833 142 8E -0.06% 9600 213.125 213 D5 -0.06% 4800 426.25 426 1AA -0.06% 2400 852.5 853 355 0.06% 1200 1705 1705 6A9 0.00% 600 3410 3410 D52 0.00% 300 6820 6820 1AA4 0.00% 75 27280 27280 6A90 0.00% Table 15.3 Baud rates Baudrate = 16 (<ASCBaudRate>) <ASCBaudRate> = ( 16 x Baudrate ) fCPU fCPU |
|
ссылки 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 |