MPC555 / MPC556
TPU ROM FUNCTIONS
MOTOROLA
USER’S MANUAL
Rev. 15 October 2000
D-30
CONTROL BITS
NAME
OPTIONS
ADDRESSES
3
2
1
0
c
Channel Function Select
xxxx – FQD Function Number
0x30YY0C – 0x30YY12
(Assigned During
Microcode Assembly)
1
0
c
Host Sequence Bits
00 – Primary Channel (Normal Mode)
0x30YY14 – 0x30YY16
01 – Secondary Channel (Normal Mode)
10 – Primary Channel (Fast Mode)
11 – Secondary Channel (Fast Mode)
1
0
c
Host Service Bits
00 – No Host Service (Reset Condition)
0x30YY18 – 0x30YY1A
01 – Not Used
10 – Read TCR1
11 – Initialize
1
0
c
Channel Priority
00 – Disabled
0x30YY1C – 0x30YY1E
01 – Low Priority
10 – Medium Priority
11 – High Priority
0
c
Channel Interrupt Enable x – Not Used
0x30YY0A
0
c
Channel Interrupt Status
xx – Not Used
0x30YY20
PARAMETER RAM
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x30YYW0
EDGE_TIME
0x30YYW2
POSITION_COUNT
0x30YYW4
TCR1_VALUE
0x30YYW6
CHAN_PINSTATE
0x30YYW8
CORR_PINSTATE_ADDR
0x30YYWA
EDGE_TIME_LSB_ADDR
0x30YYWC
0x30YYWE
= Written By CPU
= Written by CPU and TPU
W = Channel Number
YY = 41 for TPU_A and 44 for
TPU_B
= Written By TPU
= Unused Parameters
Figure D-19 FQD Parameters — Primary Channel
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..