| Electronic Components Datasheet Search |
|
C511 Datasheet(PDF) 62 Page - Siemens Semiconductor Group |
|
|
|||||||||||||||||||||||||||||
C511 Datasheet(HTML) 62 Page - Siemens Semiconductor Group |
|
62 / 128 page ![]() On-Chip Peripheral Units Semiconductor Group 6-29 6.3.2 Serial Port Control Register The serial port control and status register is the special function register SCON. This register contains not only the mode selection bits, but also the 9th data bit for transmit and receive (TB8 and RB8) and the serial port interrupt bits (TI and RI). Special Function Register SCON (Address 98H) Reset Value : 00H Bit Function SM0 SM1 0 0 0 1 1 0 1 1 Serial Mode Select Bits Serial mode 0: Shift register, fixed baud rate ( f OSC/12) Serial mode 1: 8-bit UART, variable baud rate Serial mode 2: 9-bit UART, fixed baud rate ( f OSC/64 or fOSC/32) Serial mode 3: 9-bit UART, variable baud rate SM2 Multiprocessor Communication Select Enables the multiprocessor communication feature in modes 2 and 3. In mode 2 or 3, if SM2 is set to 1 then RI will not be activated if the received 9th data bit (RB8) is 0. In mode 1, if SM2 = 1 then RI will not be activated if a valid stop bit was not received. In mode 0, SM2 should be 0. REN Receiver Enable Enables serial reception. Set by software to enable reception. Clear by software to disable reception. TB8 Transmit Bit 8 Is the 9th data bit that will be transmitted in modes 2 and 3. Set or clear by software as desired. RB8 Receive Bit 8 In modes 2 and 3, is the 9th data bit that was received. In mode 1, if SM2 = 0, RB8 is the stop bit that was received. In mode 0, RB8 is not used. TI Transmit Interrupt Flag Is transmit interupt flag. Set by hardware at the end of the 8th bit time in mode 0, or at the beginning of the stop bit in the other modes, in any serial transmission. Must be cleared by software. RI Receive Interrupt Flag Is receive interrupt flag. Set by hardware at the end of the 8th bit time in mode 0, or halfway through the stop bit time in the other modes, in any serial reception (except see SM2). Must be cleared by software. SM0 SM1 SM2 REN 98H SCON Bit No. 7 65 43 21 0 MSB LSB TB8 RB8 TI RI |
|
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 |