| Os motores de busca de Datasheet de Componentes eletrônicos |
|
CC1010-RTY1 Folha de dados(PDF) 66 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
CC1010-RTY1 Folha de dados(HTML) 66 Page - Texas Instruments |
|
66 / 150 page ![]() CC1010 SWRS047A Page 66 of 146 16.7 Serial Port 0 and 1 Two serial ports, serial port 0 and 1, are implemented. They are controlled through the SCON0 and SCON1 control register. The data is buffered in SBUF0 and SBUF1. Serial port 0 may be used for general purpose serial communication. Timer 1 may be used to generate different baud rates. Serial port 1 is primarily for use with an in-circuit-debugger, but can also be used for general purpose serial communication. A block diagram is shown in Figure 16. The general-I/O ports that map to the same physical pins as the serial ports must be configured in a certain way in order to allow serial communication. This is summarized in Table 22. The mode is set in SCON0.SMx_0 / SCON1.SMx_0 . To receive data, SCON0.REN_0 / SCON1.REN_1 must be enabled for the ports. Separate transmit and receive interrupt flags are available in SCON0.TI_0 / RI_0 and SCON1.TI_1 / RI_1 . Note that the baud rate also depends on the Clock Mode selected (see page 35). SCON0/SCON1 Receive Shift Register SBUF0/SBUF1 (Receive) SBUF0/SBUF1 (Transmit) Interrupt Request RI_0/RI_1 TI_0/TI_1 Read SBUF Write SBUF TXD0/TXD1 Load SBUF Mode 0 Transmit RXD0/RXD1 Data Bus Figure 16. Serial ports block diagram UART0 UART1 P3.0 P3.1 P3DIR.0 P3DIR.1 P2.0 P2.1 P2DIR.0 P2DIR.1 Mode 0 x 1 1 0 x 1 1 0 Mode 1-3 x x 1 x x x 1 x Mode 0 1 1 0 0 1 1 0 0 Mode 1-3 x 1 x 0 x 1 x 0 Table 22. Configuration of general purpose I/O for UART0 and UART1 |
|
Ligação URL |
| ALLDATASHEET é útil para você? [ DONATE ] |
Sobre Alldatasheet | Publicidade | Contato conosco | Privacy Policy | Link para a ficha técnica | roca de Link | Lista de Fabricantes 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 |