Datasheet
71M6511/71M6511H
Single-Phase Energy Meter IC
DATA SHEET
NOVEMBER 2010
Page: 23 of 98 © 2005–2010 Teridian Semiconductor Corporation V2.7
A Maxim Integrated Products Brand
Serial Interface 1 Control Register (S1CON).
The function of the serial port depends on the setting of the Serial Port Control Register S1CON.
MSB LSB
SM
-
SM21
REN1
TB81
RB81
TI1
RI1
Table 16: The S1CON register
Bit Symbol Function
S0CON.7 SM0 These two bits set the UART0 mode:
Mode
Description
SM0
SM1
0 N/A 0 0
1 8-bit UART 0 1
2 9-bit UART 1 0
3 9-bit UART 1 1
S0CON.6 SM1
S0CON.5 SM20 Enables the inter-processor communication feature.
S0CON.4 REN0 If set, enables serial reception. Cleared by software to disable reception.
S0CON.3 TB80 The 9
th
transmitted data bit in Modes 2 and 3. Set or cleared by the
MPU, depending on the function it performs (parity check, multiprocessor
communication etc.)
S0CON.2 RB80 In Modes 2 and 3 it is the 9
th
data bit received. In Mode 1, if SM20 is 0,
RB80 is the stop bit. In Mode 0 this bit is not used. Must be cleared by
software
S0CON.1 TI0 Transmit interrupt flag, set by hardware after completion of a serial
transfer. Must be cleared by software.
S0CON.0 RI0 Receive interrupt flag, set by hardware after completion of a serial
reception. Must be cleared by software
Table 17: The S0CON Bit Functions
Note: The speed in Mode 2 depends on the SMOD bit in the SFR PCON. See the PCON register description.