Sample Programs For 10-Bit A/D Converter - Fujitsu F2MC-8FX Hardware Manual

F2mc-8fx 8-bit microcontroller
Hide thumbs Also See for F2MC-8FX:
Table of Contents

Advertisement

CHAPTER 23 10-BIT A/D CONVERTER
23.8

Sample Programs for 10-bit A/D Converter

Fujitsu provides sample programs to operate the 10-bit A/D converter.
Sample Programs for 10-bit A/D Converter
For sample programs for the 10-bit A/D converter, see "
Setting Methods not Covered by Sample Programs
Selecting the operating clock for the 10-bit A/D converter
Use the clock select bits (ADC2.CKDIV1/CKDIV0) to select the operating clock.
Selecting the sampling time of the 10-bit A/D converter
Use the sampling time select bits (ADC2.TIM1/TIM0) to select the sampling time.
Controlling the analog switch for internal reference power shutdown of the 10-bit A/D converter
Use the analog switch control bit (ADC1.ADMVX) to control the internal reference power shutdown
analog switch.
Selecting the 10-bit A/D converter activation method
Use the continuous activation enable bit (ADC2.EXT) to select the startup trigger.
• Generating a software trigger
Use the A/D conversion start bit (ADC1.AD) to generate a software trigger.
428
Control item
To turn off internal reference power supply
To turn on internal reference power supply
A/D startup factor
To select the software trigger
To select the input clock rising signal
Operation
To generate a software trigger
Sample Programs" in Preface.
Analog switch control bit (ADMVX)
Set the bit to "0".
Set the bit to "1".
Continuous activation enable bit
Set the bit to "0".
Set the bit to "1".
A/D conversion start bit (AD)
Write "1" to the bit.
(EXT)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95170j series

Table of Contents