
HARDWARE CONFIGURATION
2-81
A/D CONVERTER
•
Continuous start by external clock pulse
Providing a clock pulse based on the conversion time and result reading
time permits continuous starting of conversion.
(2) Sense mode
•
Comparison/recomparison by software
The set value to be compared is written beforehand to the data register.
Writing 1 at the ADMD bit (bit 2) of the ADC2 and selects the Sense mode.
Writing 1 at the AD bit (bit 0) of the ADC1 and starts comparison.
When 1 is written at the AD bit (bit 0) of the ADC1 during comparison, the
comparison being executed is aborted to restart comparison.
•
Comparison/recomparison by external clock pulse
The set value to be compared is written beforehand to the data register.
Writing 1 at the EXT bit (bit 1) of the ADC2 in the Sense mode gives the
standby state for starting by an external clock pulse. When the rising edge
of the clock pulse selected by the ADCK bit (bit 4) of the ADC2 is detected,
the comparison is started.
When a clock pulse is provided at the rising edge during comparison, the
comparison being executed is aborted to restart the comparison. If the
comparison or recomparison is executed by the external clock pulse with
the EXT bit (bit 1) of the ADC2 set to 1, it cannot be compared or recom-
pared by software.
•
End
If the results of comparison meet the conditions set by the SIFM bit (bit 1) of
the ADC1, the ADI bit (bit 3) of the ADC1 is set. At this time, if the ADIE bit
(bit 2) of the ADC2 is 1, an interrupt request occurs.
If the results of comparison do not meet the conditions, the ADI bit (bit 3) of
the ADC1 is not set. In this case, the end of comparison should be fixed to
when the ADMV bit (bit 2) of the ADC1 becomes 0.
The set value written to the data register is held unchanged even after
comparison.
•
Continuous start by external clock pulse
Providing a clock pulse based on the comparison time permits continuous
starting of comparison.
Summary of Contents for F2MC-8L Series
Page 121: ...INSTRUCTIONS 4 7 4 5 F2MC 8L FAMILY INSTRUCTION MAP ...
Page 123: ...5 MASK OPTIONS ...
Page 125: ...APPENDIX ...