170
Preliminary User’s Manual U16035EJ1V0UM
CHAPTER 11 8-BIT A/D CONVERTER (
µ
PD780024AS SUBSERIES)
11.1 Functions of A/D Converter
A/D converter is an 8-bit resolution converter that converts analog inputs into digital values. It can control up to
4 analog input channels (ANI0 to ANI3).
(1) Hardware start
Conversion is started by trigger input (ADTRG: rising edge, falling edge, or both rising and falling edges can be
specified).
(2) Software start
Conversion is started by setting the A/D converter mode register 0 (ADM0).
Select one channel for analog input from ANI0 to ANI3 to perform A/D conversion. In the case of hardware start,
A/D conversion stops when an A/D conversion operation ends and an interrupt request (INTAD0) is generated. In
the case of software start, A/D conversion is repeated. Each time an A/D conversion operation ends, an interrupt
request (INTAD0) is generated.
Caution Although the
µ
PD78F0034BS incorporate a 10-bit A/D converter, this converter can be operated
as an 8-bit A/D converter by using the device file DF780024.