![Dallas DS87C550 User Manual Supplement Download Page 28](http://html1.mh-extra.com/html/dallas/ds87c550/ds87c550_user-manual-supplement_3298646028.webp)
DS87C550 High-Speed Microcontroller User’s Guide Supplement
28 of 93
A/D Converter Control Register 1 (ADCON1)
7
6
5
4
3
2
1
0
SFR B2h
BSY
/
STRT
EOC
SS
/
CONT
ADEX
WCQ
WCM
ADON
WCIO
R*-0
RW-0
RW-0
RW-0
RW-0
R-0
RW-0
RW-0
R=Unrestricted Read, W=Unrestricted Write, -n=Value after Reset; *=See description
BSY
/
STRT
Bit 7
Start/Busy.
When this bit is changed from a 0 to a 1, an A/D conversion starts. It
remains set for the duration of the conversion process (regardless of attempts to
write 0). Hardware automatically clears this bit upon completion of conversion.
EOC
Bit 6
End Of Conversion.
This bit is set by hardware when a conversion is complete.
It also serves as an interrupt flag qualified by WCQ and enabled by EAD (IE.7).
This bit must be cleared by software and can be set or cleared by software
anytime.
SS
/
CONT
Bit 5
Continuous/Single Shot.
When set to 1, the A/D converter operates in
continuous mode and repeatedly runs conversions once a conversion is initiated.
When this bit is cleared, the A/D converter performs one conversion and stops.
ADEX
Bit 4
A/D External Start.
When set, this bit allows an A/D conversion to be initiated
by the detection of a falling edge on the STADC pin.
WCQ
Bit 3
Window Comparator Qualifier.
If set, this bit allows an A/D converter
interrupt to occur only when both EOC and WCM bits are set at the end of a
conversion. If this bit is cleared, an interrupt will occur (if enabled) every time
EOC is set.
WCM
Bit 2
Window Comparator Match.
This bit is set by hardware at the end of an A/D
conversion result that matches the criteria set by WINHI, WINLO, and WCIO.
This bit is not set if there is no match, and it must be cleared by software.
ADON
Bit 1
A/D On.
This bit enables (ADON=1) or disables (ADON=0) the A/D function.
Changing this bit from a 0 to a 1 requires a warm-up period of 4
µ
s before a
proper conversion can be performed. This bit can be cleared to save power when
no conversion is required, and clearing it aborts any conversion in progress. This
action also resets the
BSY
/
STRT
bit.
WCIO
Bit 0
Window Compare Inside/Outside.
When set to 1, the window comparison
function looks for A/D results that are outside of the window bounded by the
limits set by WINHI and WINLO. When this bit is cleared, the check is for values
inside these limits.