TPU3 ROM Functions
MPC561/MPC563 Reference Manual, Rev. 1.2
Freescale Semiconductor
D-39
CONTROL BITS
NAME
OPTIONS
ADDRESSES
0
1
2
3
c
Channel Function Select
xxxx – PPWA Function Number
0x30YY0C – 0x30YY12
Assigned during microcode assembly. See
0
1
c
Host Sequence
00 – Accumulate 24-Bit Periods, No Links
0x30YY14 – 0x30YY16
01 – Accumulate 16-Bit Periods, Links
10 – Accumulate 24-Bit Pulse Widths, No Links
11 – Accumulate 16-Bit Pulse Widths, Links
0
1
c
Host Service Request
00 – Not Used
0x30YY18 – 0x30YY1A
01 – Not Used
10 – Initialize
11 – Not Used
0
1
c
Channel Priority
00 – Channel 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
START_LINK_
CHANNEL
LINK_CHANNEL_
COUNT
1
CHANNEL_CONTROL
Param 0
0x30XXW2
MAX_COUNT
2
PERIOD_COUNT
Param 1
0x30XXW4
LAST_ACCUM
Param 2
0x30XXW6
ACCUM
Param 3
0x30XXW8
ACCUM_RATE
PPWA_UB
Param 4
0x30XXWA
PPWA_LW
Param 5
0x30XXWC
Param 6
0x30XXWE
Param 7
1. The TPU does not check the value of LINK_CHANNEL_COUNT. If this parameter is
not >0 and < 8, results are unpredictable.
2. MAX_COUNT may be written at any time by the host RCPU, but if the value written is
< PERIOD_COUNT, a period or pulse-width accumulation is terminated. If this
happens, the number of periods over which the accumulation is performed will not
correspond to MAX_COUNT.
= 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,
Figure D-24. PPWA Parameters
Summary of Contents for MPC561
Page 84: ...MPC561 MPC563 Reference Manual Rev 1 2 lxxxiv Freescale Semiconductor...
Page 144: ...Signal Descriptions MPC561 MPC563 Reference Manual Rev 1 2 2 46 Freescale Semiconductor...
Page 206: ...Central Processing Unit MPC561 MPC563 Reference Manual Rev 1 2 3 62 Freescale Semiconductor...
Page 302: ...Reset MPC561 MPC563 Reference Manual Rev 1 2 7 14 Freescale Semiconductor...
Page 854: ...Time Processor Unit 3 MPC561 MPC563 Reference Manual Rev 1 2 19 24 Freescale Semiconductor...
Page 968: ...Development Support MPC561 MPC563 Reference Manual Rev 1 2 23 54 Freescale Semiconductor...
Page 1144: ...Internal Memory Map MPC561 MPC563 Reference Manual Rev 1 2 B 34 Freescale Semiconductor...
Page 1212: ...TPU3 ROM Functions MPC561 MPC563 Reference Manual Rev 1 2 D 60 Freescale Semiconductor...
Page 1216: ...Memory Access Timing MPC561 MPC563 Reference Manual Rev 1 2 E 4 Freescale Semiconductor...