
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
High-Speed Synchronous Serial Interface (SSC)
User’s Manual
19-5
V2.2, 2004-01
SSC_X, V2.0
SSC Control Register (SSCx_CON.EN = 1: Operating Mode)
PO
6
rw
Clock Polarity Control
0
Idle clock line is low, leading clock edge is low-
to-high transition.
1
Idle clock line is high, leading clock edge is
high-to-low transition.
PH
5
rw
Clock Phase Control
0
Shift transmit data on the leading clock edge,
latch on trailing edge.
1
Latch receive data on leading clock edge, shift
on trailing edge.
HB
4
rw
Heading Control
0
Transmit/Receive LSB First
1
Transmit/Receive MSB First
BM
[3:0]
rw
Data Width Selection
0000 Reserved. Do not use this combination.
0001 Transfer Data Width is 2 bits
…
Transfer Data Width is (<BM> + 1)
1111 Transfer Data Width is 16 bits
SSCx_CON
SSC Control Register
SFR (
Reset Value: 0000
H
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
EN
= 1
MS
-
BSY
BE
PE
RE
TE
-
-
-
-
BC
rw
rw
-
rh
rwh
rwh
rwh
rwh
-
-
-
-
rw
Field
Bits
Type
Description
EN
15
rw
Enable Bit = 1
Transmission and reception enabled. Access to
status flags and M/S control.
MS
14
rw
Master/Slave Selection
0
Slave Mode. Operate on shift clock received
via SCLK.
1
Master Mode. Generate shift clock and output
it via SCLK.
Field
Bits
Type
Description