CHAPTER 9 A/D CONVERTER
User’s Manual U11969EJ3V0UM00
301
9.4 A/D Converter Operation
9.4.1 Basic operation of A/D converter
A/D conversion is executed in the following order.
(1) The selection of the analog input and specification of the operation mode and trigger mode, etc., should
be set in the ADMn register
Note 1
(n = 0, 1).
When the CE bit of the ADM0 register is set (1), A/D conversion starts during the A/D trigger mode. During
the timer trigger mode and external trigger mode, the trigger standby state
Note 2
is set.
(2) The voltage generated from the voltage tap of the serial resistor string and analog input are compared
by the comparator.
(3) When the comparison of the 8 bits ends, the conversion results are stored in the ADCRn register. When
A/D conversion is performed for the specified number of times, the A/D conversion end interrupt (INTAD)
is generated (n = 0 to 7).
Notes 1. When the ADMn register (n = 0, 1) is changed during A/D conversion, the A/D conversion operation
started before the change is stopped and the conversion results are not stored in the ADCRn register
(n = 0 to 7).
2. During the timer trigger mode and external trigger mode, if the CE bit of the ADM0 register is set to
1, the mode changes to the trigger standby state. The A/D conversion operation is started by the trigger
signal, and the trigger standby state is returned when the A/D conversion operation ends.
9.4.2 Operation mode and trigger mode
The A/D converter can specify various conversion operations by specifying the operation mode and trigger mode.
The operation mode and trigger mode are set by the ADMn register (n = 0, 1).
The following shows the relation between the operation mode and trigger mode.
Trigger Mode
Operation Mode
Setting Value
Analog Input
ADM0
ADM1
A/D trigger
Select
1 buffer
xx01xxxxB
00000xxxB
ANI0 to ANI15
4 buffers
xx11xxxxB
00000xxxB
Scan
xxx0xxxxB
00000xxxB
Timer trigger
Select
1 buffer
xx01xxxxB
00010xxxB
4 buffers
xx11xxxxB
00010xxxB
Scan
xxx0xxxxB
00010xxxB
External trigger
Select
1 buffer
xx01xxxxB
00100xxxB
4 buffers
xx11xxxxB
00100xxxB
Scan
xxx0xxxxB
00100xxxB
Summary of Contents for V854 UPD703006
Page 2: ...2 User s Manual U11969EJ3V0UM00 MEMO ...
Page 22: ...22 User s Manual U11969EJ3V0UM00 MEMO ...
Page 80: ...80 User s Manual U11969EJ3V0UM00 MEMO ...
Page 134: ...134 User s Manual U11969EJ3V0UM00 MEMO ...
Page 156: ...156 User s Manual U11969EJ3V0UM00 MEMO ...
Page 294: ...294 User s Manual U11969EJ3V0UM00 MEMO ...
Page 320: ...320 User s Manual U11969EJ3V0UM00 MEMO ...
Page 324: ...324 User s Manual U11969EJ3V0UM00 MEMO ...
Page 336: ...336 User s Manual U11969EJ3V0UM00 MEMO ...
Page 376: ...376 User s Manual U11969EJ3V0UM00 MEMO ...
Page 382: ...382 User s Manual U11969EJ3V0UM00 MEMO ...
Page 394: ...394 User s Manual U11969EJ3V0UM00 MEMO ...