Datasheet
Interrupt Sources
MC68HC812A4 Data Sheet, Rev. 7
Freescale Semiconductor 139
12.9 Interrupt Sources
12.10 General-Purpose I/O Ports
This section describes the general-purpose I/O ports.
12.10.1 Timer Port Data Register
An I/O pin used by the timer defaults to general-purpose I/O unless an internal function which uses that
pin is enabled.
Read: Anytime
Write: Anytime
PT7–PT0 — Timer Port Data Bits
Data written to PORTT is buffered and drives the pins only when they are configured as
general-purpose outputs.
Reading an input (data direction bit = 0) reads the pin state; reading an output (data direction bit = 1)
reads the latch.
Writing to a pin configured as a timer output does not change the pin state.
Table 12-5. Timer Interrupt Sources
Interrupt
Source
Flag
Local
Enable
CCR
Mask
Vector
Address
Timer channel 0 C0F C0I I bit $FFEE, $FFEF
Timer channel 1 C1F C1I I bit $FFEC, $FFED
Timer channel 2 C2F C2I I bit $FFEA, $FFEB
Timer channel 3 C3F C3I I bit $FFE8, $FFE9
Timer channel 4 C4F C4I I bit $FFE6, $FFE7
Timer channel 5 C5F C5I I bit $FFE4, $FFE5
Timer channel 6 C6F C6I I bit $FFE2, $FFE3
Timer channel 7 C7F C7I I bit $FFE0, $FFE1
Timer overflow TOF TOI I bit $FFDE, $FFDF
Pulse accumulator overflow PAOVF PAOVI I bit $FFDC, $FFDD
Pulse accumulator input PAIF PAI I bit $FFDA, $FFDB
Address: $00AE
Bit 7654321Bit 0
Read:
PT7PT6PT5PT4PT3PT2PT1PT0
Write:
Reset: Unaffected by reset
Timer function: IC/OC7 IC/OC6 IC/OC5 IC4OC4 IC/OC3 IC/OC2 IC/OC1 IC/OC0
PA function: PAI
Figure 12-25. Timer Port Data Register (PORTT)
