XC886/888CLM
Serial Interfaces
User’s Manual
12-38
V1.3, 2010-02
Serial Interfaces, V 1.0
12.3.1.5
Port Control
The SSC uses three lines to communicate with the external world as shown in
. Pin SCLK serves as the clock line, while pins MRST and MTSR serve as
the serial data input/output lines.
Figure 12-15 SSC Module I/O Interface
Operation of the SSC I/O lines depends on the selected operating mode (master or
slave). The direction of the port lines depends on the operating mode. The SSC will
automatically use the correct kernel output or kernel input line of the ports when
switching modes.
Since the SSC I/O lines are connected with the bidirectional lines of the general purpose
I/O ports, software I/O control is used to control the port pins assigned to these lines. The
port registers must be programmed for alternate output and input selection. When
switching between master and slave modes, port registers must be reprogrammed.
Interrupt
System
EIR
TIR
MTSR
MRSTA
Port
Control
RIR
SSC
Module
(Kernel)
Sl
a
ve
Ma
st
e
r
Sl
a
ve
MRSTB
MRST
MTSRA
MTSRB
SCLK
SCLKA
SCLKB
Ma
st
e
r
P0.3/SCK_1
P0.4/MTSR_1
P0.5/MRST_1
P1.2/SCK_0
P1.3/MTSR_0
P1.4/MRST_0
*
Содержание XC886CLM
Страница 1: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 3: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 324: ...XC886 888CLM Serial Interfaces User s Manual 12 52 V1 3 2010 02 Serial Interfaces V 1 0...
Страница 663: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG...