| Electronic Components Datasheet Search |
|
SH79F166AP/044PR Datasheet(PDF) 41 Page - SINOWEALTH Electronic Ltd |
|
|
|||||||||||||||||||||||||||||
SH79F166AP/044PR Datasheet(HTML) 41 Page - SINOWEALTH Electronic Ltd |
|
41 / 113 page ![]() SH79F166A 41 Mode2: Baud-Rate Generator Timer2 is selected as the baud rate generator by setting TCLK and/or RCLK in T2CON. The baud rates for transmit and receive can be different if Timer2 is used for the receiver or transmitter and Timer4 is used for the other. Setting RCLK and/or TCLK will put Timer2 into its baud rate generator mode, which is similar to the auto-reload mode. Over flow of Timer2 will causes the Timer2 registers to be reloaded with the 16-bit value in registers RCAP2H and RCAP2L that preset by software. But this will not generate an interrupt. If EXEN2 is set, a 1-to-0 transition in T2EX will set EXF2 but will not cause a reload. Thus when Timer 2 is in use as a baud rate generator, T2EX can be used as an extra external interrupt. The baud rates in EUART Modes1 and 3 are determined by Timer2’s overflow rate according to the following equation. RCAP2L] [RCAP2H, 65536 SYS f 16 2 1 BaudRate − × × = ; C/T2 ——— = 0 RCAP2L] [RCAP2H, 65536 T2 f 16 1 BaudRate − × = ; C/T2 ——— = 1 System Clock TR2 C/ T2 0:Switch Off 1:Switch On The Block Diagram of Baud-Rate Generator ( Mode 2 ) of Timer2 /16 /16 Timer4 overflow /2 RCLK =1 =0 TCLK =1 =0 SMOD =0 =1 TL2 TH2 RCAP2L RCAP2H EXEN2 EXF2 T2EX /2 T2 0:Switch Off 1:Switch On =0 =1 Timer2 Interrupt Request UART receiver clock source UART transiver clock source |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |