|
MC68HC05T16 Datasheet, PDF (40/128 Pages) Motorola, Inc – High-density complementary metal oxide semiconductor (HCMOS) microcontroller unit | |||
|
◁ |
4.2.6 PAC Interrupt
Pulse Accumulator interrupt is enabled when the enable bit, PAIE of PAC Control register is set.
The interrupt service routine address for PAC is speciï¬ed by the contents of memory location
$FFF2 and $FFF3.
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
4
PACTL
$0E PAOF PAEN PAMOD PAIE
0000 0000
PAOF - PAC Overï¬ow Interrupt Flag Bit.
1 (set) â A PAC overï¬ow from $FF to $00 has occurred.
0 (clear) â No PAC overï¬ow has occurred.
It is set when the count in the pulse accumulator rolls over from $FF to $00. PAOF is cleared by
writing a â0â to the bit. An interrupt to the CPU is generated if the PAIE bit is set.
PAIE - PAC Interrupt Enable Bit
1 (set) â PAC overï¬ow Interrupt enabled.
0 (clear) â PAC overï¬ow Interrupt disabled.
Refer to section 7 for detailed description of Pulse Accumulator.
4.2.7 OSD Interrupts
There are ï¬ve OSD interrupt sources, VFLBK bit and R0/1/2/3CF bits of OSD Status register, in
the OSD module. VFLB bit will be set whenever the leading edge of vertical ï¬yback pin, VFLBK,
has been detected. An interrupt will occur if the corresponding interrupt enable bit, VFINTE, is set.
Whenever each row terminates its display, RiCF bit will be set and an interrupt will be generated
provided that the corresponding interrupt enable bit, RiINTE is set. The interrupt service routine
address is speciï¬ed by the contents of memory location $FFFA and $FFFB.
Frame Control 3 and Status
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$2B VFINTE MUTE1 MUTE0 VFLB R3CF R2CF R1CF R0CF 0000 0000
VFINTE - VFLBK interrupt enable
1 (set) â Vertical ï¬yback interrupt enabled.
0 (clear) â Vertical ï¬yback interrupt disabled.
MOTOROLA
4-10
RESETS AND INTERRUPTS
TPG
MC68HC05T16
|
▷ |