Datasheet

Interrupt Sources
MC68HC812A4 Data Sheet, Rev. 7
Freescale Semiconductor 207
16.7.3 Stop Mode
The ATD is inactive in stop mode for reduced power consumption. The STOP instruction aborts any
conversion sequence in progress.
16.8 Interrupt Sources
NOTE
The ASCIF flag is set only when a conversion sequence is completed and
ASCIE = 1 or interrupts on the analog-to-digital converter (ATD) module
are enabled.
16.9 General-Purpose Ports
Port AD is an input-only port. When the ATD is enabled, port AD is the analog input port for the ATD.
Setting the ATD power-up bit, ADPU, in ATD control register 2 enables the ATD.
Port AD is available for general-purpose input when the ATD is disabled. Clearing the ADPU bit disables
the ATD.
16.10 Port AD Data Register
Read: Anytime; reads return logic levels on the PAD pins
Write: Has no meaning or effect
PAD7–PAD0 — Port AD Data Input Bits
Table 16-5. ATD Interrupt Sources
Interrupt
Source
Flag
Local
Enable
CCR
Mask
Vector
Address
Conversion sequence complete ASCIF ASCIE I bit $FFD2, $FFD3
Address: $006F
Bit 7654321Bit 0
Read: PAD7 PAD6 PAD5 PAD4 PAD3 PAD2 PAD1 PAD0
Write:
Reset:00000000
= Unimplemented
Figure 16-14. Port AD Data Input Register (PORTAD)