Pwm Counter Register; Edge Port Programming Model; Edge Port Pin Assignment Register (Eppar; Pwm Count Registers - Motorola M-CORE MMC2001 Series Reference Manual

Table of Contents

Advertisement

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.
PWMCR0 — PWM0 Counter Register
PWMCR1 — PWM1 Counter Register
PWMCR2 — PWM2 Counter Register
PWMCR3 — PWM3 Counter Register
PWMCR4 — PWM4 Counter Register
PWMCR5 — PWM5 Counter Register
15
14
13
12
R
0
0
0
0
W
RESET:
COUNT — Count Value
This is the current count value.
C.7 Edge Port Programming Model
Access the edge port registers with halfword accesses.
Address
10007000
10007002
10007004
10007006
10007008
to
10007FFF
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.
MMC2001
REFERENCE MANUAL
Freescale Semiconductor, Inc.
11
10
9
8
0
0
0
0
Figure C-27 PWM Count Registers
Table C-12 GPIO Edge Port Address Map
Use

Edge Port Pin Assignment Register (EPPAR)

Edge Port Data Direction Register (EPDDR)
Edge Port Data Register (EPDR)
Edge Port Flag Register (EPFR)
Reserved
PROGRAMMING REFERENCE
For More Information On This Product,
Go to: www.freescale.com
7
6
5
4
COUNT
0
0
0
0
Access
Supervisor Only
Supervisor Only
Supervisor Only
Supervisor Only
Supervisor Only
10005006
1000500E
10005016
1000501E
10005026
1000502E
3
2
1
0
0
0
0
0
MOTOROLA
C-27

Advertisement

Table of Contents
loading

Table of Contents