ml670100 Oki Semiconductor, ml670100 Datasheet - Page 150

no-image

ml670100

Manufacturer Part Number
ml670100
Description
Ml670100 Is A High-performance 32-bit Microcontroller
Manufacturer
Oki Semiconductor
Datasheet
Bit Descriptions
ADRUN
This bit controls starting. Setting it to "1" starts A/D conversion.
If the CONT bit is "0," the analog-to-digital converter automatically resets this bit to "0" and
shuts down after four conversions for the scan modes and after one for select mode.
Resetting this bit to "0" from the program forces termination and leaves indeterminate results
in the AD Result Registers 0 to 3 (ADCRn, n=0 - 3).
CONT
This bit enables/disables continuous operation. Setting it to "1" produces continuous cycling -
from channel 3 to channel 0 for CH0 to CH3 scan mode, from channel 7 to channel 4 for CH4
to CH7 scan mode, or with the same channel for select mode. Resetting it to "0" disables this
cycling, causing the analog-to-digital converter to stop at the end of the 4-channel group for the
scan modes or after the current conversion for select mode, reset the ADRUN bit to "0," and
shut down.
ADCHMOD
This field specifies the operating mode. The choices are a scan mode covering input channels
CH0 to CH3, a scan mode covering input channels CH4 to CH7, and select mode covering a
single channel. If a conversion is underway, wait for the ADRUN bit to return to "0" before
writing to this field. If that bit is "1," writes are ignored.
ADSTCH
This field specifies the analog input channel for select mode.
If a conversion is underway, wait for the ADRUN bit to return to "0" before writing to this field.
If that bit is "1," changes are ignored.
10-6

Related parts for ml670100