|
MC68HC11P2 Datasheet, PDF (160/268 Pages) Motorola, Inc – Microcontrollers | |||
|
◁ |
Timing System
Freescale Semiconductor, Inc.
8.8.1 PACTL â Pulse accumulator control register
Pulse accumulator control
(PACTL)
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$0026 0 PAEN PAMODPEDGE 0 I4/O5 RTR1 RTR0 0000 0000
Four of this registerâs bits control an 8-bit pulse accumulator system.
Another bit enables either the OC5 function or the IC4 function, while two
other bits select the rate for the real-time interrupt system.
Bits [7, 3] â Not implemented; always read zero
PAEN â Pulse accumulator system enable
1 = Pulse accumulator enabled.
0 = Pulse accumulator disabled.
PAMOD â Pulse accumulator mode
1 = Gated time accumulation mode.
0 = Event counter mode.
PEDGE â Pulse accumulator edge control
This bit has different meanings depending on the state of the PAMOD
bit, as shown:
PAMOD
0
0
1
1
PEDGE
Action of clock
0 PAI falling edge increments the counter.
1 PAI rising edge increments the counter.
0 A zero on PAI inhibits counting.
1 A one on PAI inhibits counting.
I4/O5 â Input capture 4/output compare 5
1 = Input capture 4 function is enabled (no OC5).
0 = Output compare 5 function is enabled (no IC4).
RTR[1:0] â RTI interrupt rate selects (refer to Real-time interrupt)
Technical Data
Timing System
For More Information On This Product,
Go to: www.freescale.com
MC68HC11P2 â Rev 1.0
|
▷ |