TC1796
System Units (Vol. 1 of 2)
General Purpose I/O Ports and Peripheral I/O Lines
User’s Manual
10-83
V2.0, 2007-07
Ports, V2.0
10.14
Dedicated Peripheral I/O Lines
10.14.1
Dedicated I/O Lines for SSC0 and SSC1
In the TC1796 the Synchronous Serial interface SSC0 is directly connected to dedicated
pins. Bits SSC0_CON.EN (signal “SSC Enabled”) enables/disables these dedicated
pins. After a reset, SSC0_CON.EN is 0 and the dedicated SSC0 I/O pins are tri-stated.
With SSC0_CON.EN = 1, the dedicated SSC0 I/O pins are enabled and the state of
SSC0_CON.MS (signal “M/S Enabled”) determines whether it will be used as input or
output. When the dedicated SSC0 I/O pins are enabled (SSC0_CON.EN = 1), changing
SSC0_CON.MS directly affects the I/O direction of the three SSC0 I/O pins.
Two SLSOx outputs of SSC0, SLSO0 and SLSO1, are connected to dedicated output
pins. When enabled (SSC0_CON.EN = 1), SLSO0 and SLSO1 are dedicated output
pins. SLSO0 and SLSO1 are tri-stated with SSC0_CON.EN = 0 (default after reset).
When a dedicated SSC0 I/O line is used as outputs, its pad driver is controlled by two
bits of the SCU_CON register (located in the SCU). SCU_CON.SSC0PDR controls the
output drivers of MTRS0, MRST0, and SCLK0 while SCU_CON.SLSPDR controls the
output drivers of SLSO0 and SLSO1. Two driver strengths can be selected with each bit.
(see also SCU chapter
).
Table 10-28 SSC0 Dedicated I/O Line Selection and Setup
Dedicated SSC0
Port Line
Input/
Output
SSC0
Mode
Input/Output
Selection
Enable
Control
Pad Driver
Control
Dedicated SSC0 I/O Lines
MTSR0
Input
Slave
SSC0_
CON.MS = 0
SSC0_CON.
EN = 1
–
Output
Master
SSC0_
CON.MS = 1
SCU_CON.
SSC0PDR
1)
MRST0
Input
Master
SSC0_
CON.MS = 1
–
Output
Slave
SSC0_
CON.MS = 0
SCU_CON.
SSC0PDR
SCLK0
Input
Slave
SSC0_
CON.MS = 0
–
Output
Master
SSC0_
CON.MS = 1
SCU_CON.
SSC0PDR