| 数据搜索系统,热门电子元器件搜索 |
|
AT89LP428 数据表(PDF) 59 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT89LP428 数据表(HTML) 59 Page - ATMEL Corporation |
|
59 / 149 page ![]() 59 3654A–MICRO–8/09 AT89LP428/828 Figure 12-6. Timer 2 Waveform: Dual Slope Modes 12.4 Baud Rate Generator Timer 2 is selected as the baud rate generator by setting TCLK and/or RCLK in T2CON (Table 12-3 on page 53). Note that the baud rates for transmit and receive can be different if Timer 2 is used for the receiver or transmitter and Timer 1 is used for the other function. Setting RCLK and/or TCLK puts Timer 2 into its baud rate generator mode, as shown in Figure 12-7. The baud rate generator mode is similar to the auto-reload mode, in that a rollover in TH2 causes the Timer 2 registers to be reloaded with the 16-bit value in registers RCAP2H and RCAP2L, which are preset by software. The baud rates in UART modes 1 and 3 are determined by Timer 2’s overflow rate according to the following equation. The Timer can be configured for either timer or counter operation. In most applications, it is con- figured for timer operation (CP/T2 = 0). The baud rate formulas are given below . where (RCAP2H, RCAP2L) is the content of RCAP2H and RCAP2L taken as a 16-bit unsigned integer. MAX MIN TOP T2CM1-0 = 10B MAX MIN TOP TF2 Set TF2 Set T2CM1-0 = 11B EXF2 Modes 1 and 3 Baud Rates Timer 2 Overflow Rate 16 ------------------------------------------------------------ = T2CM = 00B Modes 1, 3 Baud Rate Oscillator Frequency 16 TPS 1 + () × 65536 RCAP2H,RCAP2L () – [] × --------------------------------------------------------------------------------------------------------------------------------- = T2CM = 01B Modes 1, 3 Baud Rate Oscillator Frequency 16 TPS 1 + () × RCAP2H RCAP2L (, ) 1 + [] × ------------------------------------------------------------------------------------------------------------------- = |
|
链接网址 |
| 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 |