Datasheet

Table Of Contents
Data Sheet ADuC7060/ADuC7061
Rev. D | Page 53 of 108
Primary Channel ADC Comparator Threshold Register
Name: ADC0ATH
Address: 0xFFFF054C
Default value: 0x00000000
Access: Read and write
Function:
This 32-bit MMR holds the threshold value for
the accumulator comparator of the primary
channel. When the accumulator value in
ADC0ACC exceeds the value in ADC0ATH,
the ADC0ATHEX bit in ADCSTA is set. This
causes an interrupt if the corresponding bit in
ADCMSKI is also enabled.
Table 61. ADC0ATH MMR Bit Designations
Bit Description
31:0 ADC0 32-bit comparator threshold register of the
accumulator.
INTERRUPT
(ADC0OVR)
16
|ABSVAL|
INTERRUPT
(ADC0RDY)
(READABLE)
CLEAR
(READABLE)
32
OPTION: UP/RESET
INTERRUPT
(ADC0ATHEX)
INTERRUPT
(ADC0THEX)
ADC0ATH
ADC0ACC
ACCUMULATOR
f
ADC
ADC0THC
ADC0TH
ADC0THV
UP/DOWN
ADC0RCV
COUNTER
ADC0RCR
(DEFAULT = 1)
f
ADC
f
ADC
f
ADC
PRIMARY
ADC
ADC0
ADC1
FAST
OVERRANGE
07079-011
Figure 17. Primary ADC Accumulator/Comparator/Counter Block Diagram