MMC2001
PROGRAMMING REFERENCE
MOTOROLA
REFERENCE MANUAL
C-27
C.6.4 PWM Counter Register
The read-only PWM counter register (PWMCR) holds the current count value. It can
be read at any time without disturbing the counter.
Figure C-27 PWM Count Registers
COUNT — Count Value
This is the current count value.
C.7 Edge Port Programming Model
Access the edge port registers with halfword accesses.
C.7.1 Edge Port Pin Assignment Register (EPPAR)
The 16-bit read/write edge port pin assignment register (EPPAR) configures each of
the interrupt pins as either level-sensitive or edge-sensitive. Rising, falling, or both
edges can be selected as the active edge. Requests are always generated out of this
block but may be masked within the interrupt controller module. The functionality of
this register is independent of the programmed pin direction.
PWMCR0 — PWM0 Counter Register
10005006
PWMCR1 — PWM1 Counter Register
1000500E
PWMCR2 — PWM2 Counter Register
10005016
PWMCR3 — PWM3 Counter Register
1000501E
PWMCR4 — PWM4 Counter Register
10005026
PWMCR5 — PWM5 Counter Register
1000502E
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
0
0
0
0
0
0
COUNT
W
RESET:
0
0
0
0
0
0
0
0
0
0
Table C-12 GPIO Edge Port Address Map
Address
Use
Access
10007000
Edge Port Pin Assignment Register (EPPAR)
Supervisor Only
10007002
Edge Port Data Direction Register (EPDDR)
Supervisor Only
10007004
Edge Port Data Register (EPDR)
Supervisor Only
10007006
Edge Port Flag Register (EPFR)
Supervisor Only
10007008
to
10007FFF
Reserved
Supervisor Only
Freescale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc.
..