MC68HC12 MOTOROLA [Motorola, Inc], MC68HC12 Datasheet - Page 263

no-image

MC68HC12

Manufacturer Part Number
MC68HC12
Description
The MC68HC912DT128A microcontroller unit (MCU) is a 16-bit device composed of standard on-chip peripherals including a 16-bit central processing unit
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
PACN3, PACN2 — Pulse Accumulators Count Registers
PACN1, PACN0 — Pulse Accumulators Count Registers
MC68HC912DT128A — Rev 4.0
MOTOROLA
RESET:
RESET:
$00A2
$00A3
$00A4
$00A5
BIT 7
BIT 7
BIt 7
Bit 7
BIt 7
Bit 7
0
0
6
6
6
0
6
6
6
0
PAIF — Pulse Accumulator Input edge Flag
Read or write any time.
The two 8-bit pulse accumulators PAC3 and PAC2 are cascaded to form
the PACA 16-bit pulse accumulator. When PACA in enabled (PAEN=1
in PACTL, $A0) the PACN3 and PACN2 registers contents are
respectively the high and low byte of the PACA.
When PACN3 overflows from $FF to $00, the Interrupt flag PAOVF in
PAFLG ($A1) is set.
Full count register access should take place in one clock cycle. A
separate read/write for high byte and low byte will give a different result
than accessing them as a word.
Read or write any time.
Set when the selected edge is detected at the PT7 input pin. In event
mode the event edge triggers PAIF and in gated time accumulation
mode the trailing edge of the gate signal at the PT7 input pin triggers
PAIF.
This bit is cleared by a write to the PAFLG register with bit 0 set.
Any access to the PACN3, PACN2 registers will clear all the flags in
this register when TFFCA bit in register TSCR($86) is set.
5
5
5
0
5
5
5
0
Enhanced Capture Timer
4
4
4
0
4
4
4
0
3
3
3
0
3
3
3
0
2
2
2
0
2
2
2
0
1
1
1
0
1
1
1
0
Timer Register Descriptions
Enhanced Capture Timer
BIT 0
BIT 0
Bit 0
Bit 0
Bit 0
Bit 0
0
0
Technical Data
$00A2, $00A3
$00A4, $00A5
PACN1 (hi)
PACN0 (lo)
PACN3 (hi)
PACN2 (lo)
263

Related parts for MC68HC12