Chapter 12 A/D Converter; A/D Converter Functions; A/D Converter Configuration - NEC mPD780208 Subseries User Manual

8-bit single-chip microcontrollers
Table of Contents

Advertisement

12.1 A/D Converter Functions

The A/D converter converts an analog input into a digital value. It consists of 8 channels (ANI0 to ANI7) with
an 8-bit resolution.
The conversion method is based on successive approximation and the conversion result is held in the 8-bit
A/D conversion result register (ADCR).
A/D conversion can be started in the following two ways.
(1) Hardware start
Conversion is started by trigger input (INTP3).
(2) Software start
Conversion is started by setting the A/D converter mode register (ADM).
Select one channel of analog input from ANI0 to ANI7 and carry out A/D conversion. In the case of a hardware
start, when A/D conversion finishes, the A/D converter stops and an interrupt request (INTAD) is generated. In
the case of a software start, the A/D conversion operation is repeated. Each time an A/D conversion operation
ends, an interrupt request (INTAD) is generated.

12.2 A/D Converter Configuration

The A/D converter consists of the following hardware.
190
CHAPTER 12
Table 12-1. A/D Converter Configuration
Item
Analog input
8 channels (ANI0 to ANI7)
Control registers
A/D converter mode register (ADM)
A/D converter input select register (ADIS)
Registers
Successive approximation register (SAR)
A/D conversion result register (ADCR)
User's Manual U11302EJ4V0UM
A/D CONVERTER
Configuration

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd780204Mpd780206Mpd780208Mpd78p0208Mpd780204aMpd780205a ... Show all

Table of Contents