TC1796
Peripheral Units (Vol. 2 of 2)
Micro Second Channel (MSC)
User’s Manual
21-13
V2.0, 2007-07
MSC, V2.0
Four data sources can be selected for each SRL bit by using several control bits and one
control signal:
•
ALTINL input line (non-inverted)
•
ALTINL input line (inverted)
•
Bit of DD.DDL (downstream data register)
•
Bit of DC.DCL (downstream control register)
When SRL is loaded for data frame transmission (DSC.CP = 0), bit fields DSDSL.SLx
determine bit-wise which data is loaded into SRL bit x. The data source selection as
controlled by DSDSL.SLx will only be effective when EMGSTOPMSC is inactive (at low
level). When EMGSTOPMSC = 1 (active) during the load operation, all SRL[x] bits that
are enabled for the emergency stop feature (bit ESR.ENLx = 1) are loaded directly with
the corresponding bit DDL[x] of the downstream data register DD.
When SRL is loaded for command frame transmission (DSC.CP = 1), always the lower
16-bit part DCL of the downstream control register is loaded completely into SRL.
summarizes all SRL data source selection capabilities (x = 0-15).
SRH Shift Register Loading
The SRH shift register load operation is equivalent to the SRL shift register load
operation. The following differences must be taken into account for SRH shift register
loading:
•
Input lines ALTINH are connected instead of ALTINL input lines.
•
DSDSH register bits control data source selection instead of DSDSL register.
•
Emergency stop is enabled by ESR.ENHx bits instead of ESR.ENLx bits.
•
Bits of the downstream data register high part DDH are selected instead of DDL.
•
Downstream control register high part DCH is selected instead of DDL.
Table 21-5
SRL Data Source Selection Capabilities
DSC.
CP
DSDSL.
SLx
ESR.
ENLx
EMGSTOPMSC Selection
0
00
B
0
–
Bit DD.DDL[x] is loaded into SRL[x].
01
B
Reserved.
10
B
State of ALTINL[x] input is loaded into
SRL[x].
11
B
Inverted state of ALTINL[x] input is loaded
into SRL[x].
XX
B
1
1
Bit DD.DDL[x] is loaded into SRL[x].
1
XX
B
X
X
Bit fields DCL and DCH are completely
loaded into SRL and SRH, respectively.