On-Chip Peripheral Components
C513AO
User’s Manual
6-52
05.99
6.4.7 Register Description
The SSC interface has six Special function Registers (SFRs) which are listed in Table 6-5.
Table 6-5
Special Function Registers of the COMP Unit
The SSCCON Register provides basic control of the SSC functions, such as general enable/
disable, mode selections, and transmitter control.
Special Function Register SSCCON (Address E8H)
Reset Value: 07H
Symbol
Description
Address
SSCCON
SCIEN
SCF
STB
SRB
SSCMOD
SSC Control Register
SSC Interrupt Enable Register
SSC Status Register
SSC Transmit Buffer Register
SSC Receive Buffer Register
SSC Mode Test Register
E8H
F9H
F8H
E9H
EAH
EBH
Bit
Function
SCEN
SSC system Enable
SCEN = 0: SSC subsystem is disabled, related pins are available as general I/O.
SCEN = 1: SSC subsystem is enabled.
TEN
Slave Mode - Transmitter Enable
TEN = 0: Transmitter output STO will remain in Tristate mode, regardless of the
state of SLS.
TEN = 1 and SLS = 0: Transmitter will drive the STO output.
In Master Mode, the transmitter will be enabled all the time, regardless of the setting
of TEN.
MSTR
Master Mode selection
MSTR = 0: Slave Mode is selected
MSTR = 1: Master Mode is selected
This bit must be set to the correct value (dependent on the hardware setup of the
system) before the SSC will be enabled. It must not be modified afterwards.
There is no on-chip support for dynamic switching between Master and Slave
Mode operation.
SCEN
TEN
MSTR
CPOL
E8H
SSCCON
Bit No.
7
6
5
4
3
2
1
0
MSB
LSB
CPHA
BRS2
BRS1
BRS0