
D-4
MPC561/MPC563 Reference Manual
MOTOROLA
Programmable Time Accumulator (PTA)
CONTROL BITS
NAME
OPTIONS
ADDRESSES
0123
Channel Function Select
xxxx – PTA Function Number. Assigned
0x30YY0C – 0x30YY12
during microcode assembly. See
0
1
Host Sequence
00 – High Time Accumulate
0x30YY14 – 0x30YY16
01 – Low Time Accumulate
10 – Period Accumulate, Rising
11 – Period Accumulate, Falling
01
Host Service Request
00 – No Host Service (Reset Condition)
0x30YY18 – 0x30YY1A
01 – Not Used
10 – Not Used
11 – Initialize
01
Channel Priority
00 – Disabled
0x30YY1C – 0x30YY1E
01 – Low Priority
10 – Medium Priority
11 – High Priority
0
Channel Interrupt Enable 0 – Channel Interrupt Disabled
0x30YY0A
1 – Channel Interrupt Enabled
0
Channel Interrupt Status
0 – Channel Interrupt Not Asserted
0x30YY20
1 – Channel Interrupt Asserted
PARAMETER RAM
ADDRESS OFFSETS
BITS
0
1
2
3
4
5
6
7
8
9
10
11
12 13
14
15
0x30XXW0
CHANNEL_CONTROL
Param 0
0x30XXW2
MAX_COUNT
PERIOD_COUNT
Param 1
0x30XXW4
LAST_TIME
Param 2
0x30XXW6
ACCUM
Param 3
0x30XXW8
HW
Param 4
0x30XXWA
LW
Param 5
0x30XXWC
Param 6
0x30XXWE
Param 7
= Written By RCPU
= Written by RCPU and TPU
W = Channel Number
= Written By TPU
= Unused Parameters
For address offsets: XX=41 for
TPU_A, 45 for TPU_B
YY=40 for TPU_A, 44
for TPU_B
PRAM Address Offset Map.
Figure D-2. PTA Parameters