NXP Semiconductors MPC5644A Reference Manual page 846

Microcontroller
Table of Contents

Advertisement

Enhanced Time Processing Unit (eTPU2)
Register
CaptureA, CaptureB
MatchA, MatchB
read and write through ERTA/B
MRLEA, MRLEB
write to 0 (negate) directly;
MatchA/B update from ERTA/B
TBSA, TBSB
MRLA, MRLB
TDLA, TDLB
TCCEA
1
See
Section 24.5.9, Microinstruction
2
n.a. means that value of the register is undetermined after reset.
MatchA and MatchB Registers
MatchA and MatchB registers hold a match value to be compared against the selected channel time base.
A match value can only be written into the Match register by microcode, through ERTA/B microengine
registers (see
Section 24.5.9.3.5, Write Channel Match and UDCM
the Match register as a special T4ABS source operation, when T4ABS = 0101, and the source for T4ABS
is selected from the second register set. In this operation, MatchA/B registers are copied into ERTA/B
registers (see
Section 24.5.9.2.2, Selecting sources and
matches, see
Section 24.5.5.2, Match
CaptureA and CaptureB Registers
CaptureA and CaptureB registers capture the selected channel time base. CaptureA/B registers cannot be
directly written or read by microcode. During the Time Slot Transition (TST) or during CHAN assignment,
CaptureA/B registers are copied into ERTA/B microengine registers. For more information, see
Section 24.5.5.3, Transition Detection and Time Base
TBSA and TBSB – Time Base Selection Registers
TBSA/B are 3-bit registers which have the following effect on channel configuration:
Selection of the timebase (TCR1 or TCR2) to be compared against the match values in MatchA
and/or MatchB registers.
846
Table 24-41. Event Registers microcode accesses
Access Type
read through ERTA/B
write to 1 (assert) upon
write only
flag test on branch,
write to 0 (negate) only
flag test on branch,
write to 0 (negate) only
write only
set.
Recognition.
MPC5644A Microcontroller Reference Manual, Rev. 6
Sampled from
Update to
channel
channel
to ERTA/B on
CHAN assignment
to ERTA/B
from ERTA/B
by microcode
by microcode
no
immediate
no
immediate
on CHAN
immediate
assignment
on CHAN
immediate
assignment
no
immediate
Registers). Microcode can also read
destination). For more information on time base
Capture.
Microcode
Reset
1
fields
value
no
T2ABD
n.a.
ERWA,
n.a.
CMW,
ERWB,
T4ABS
MRLE,
0, 0
ERWA,
ERWB
TBSA,
000,
TBSB
000
BCC (test)
0, 0
MRLA,
MRLB
(reset)
BCC (test)
0, 0
TDL (reset)
MTD
0
Freescale Semiconductor
2

Advertisement

Table of Contents
loading

Table of Contents