C509-L_97 SIEMENS [Siemens Semiconductor Group], C509-L_97 Datasheet - Page 162

no-image

C509-L_97

Manufacturer Part Number
C509-L_97
Description
8-Bit CMOS Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
Special Function Register S0CON (Address 98 H )
Special Function Register S0BUF (Address 99 H )
Bit
SM0
SM1
SM20
REN0
TB80
RB80
TI0
RI0
Semiconductor Group
Bit No.
99 H
98 H
MSB
SM0
Function
Serial port 0 mode selection bits
Enable serial port 0 multiprocessor communication in modes 2 and 3
In mode 2 or 3, if SM2 is set to 1 then RI0 will not be activated if the received 9th
data bit (RB8) is 0. In mode 1, if SM2 = 1 then RI0 will not be activated if a valid
stop bit was not received. In mode 0, SM2 should be 0.
Enable receiver of serial port 0
Enables serial reception. Set by software to enable serial reception. Cleared by
software to disable serial reception.
Serial port 0 transmitter bit 9
TB80 Is the 9th data bit that will be transmitted in modes 2 and 3. Set or cleared
by software as desired.
Serial port 0 receiver bit 9
In modes 2 and 3, RB80 is the 9th data bit that was received. In mode 1, if
SM2 = 0, RB80 is the stop bit that was received. In mode 0, RB80 is not used.
Serial port 0 transmitter interrupt flag
TI0 is 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. TI0 must be cleared
by software.
Serial port 0 receiver interrupt flag
RI0 is 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 (exception see SM20).
RI0 must be cleared by software.
7
9F H
SM0
0
0
1
1
SM1
9E H
6
SM1
0
1
0
1
Serial Interface 0 Buffer Register
SM20
9D H
5
Selected operating mode
Serial mode 0 : Shift register, fixed baud rate (
Serial mode 1 : 8-bit UART, variable baud rate
Serial mode 2 : 9-bit UART, fixed baud rate (
Serial mode 3 : 9-bit UART, variable baud rate
REN0
9C H
4
6-84
TB80
9B H
3
On-Chip Peripheral Components
RB80
9A H
2
99 H
TI0
1
LSB
98 H
RI0
0
Reset Value : XX H
f
Reset Value : 00 H
OSC
f
OSC
/16 or
S0BUF
S0CON
/6)
1997-10-01
f
C509-L
OSC
/32)

Related parts for C509-L_97