Renesas RL78/G1P Hardware User Manual page 278

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P
Address: F0010H
After reset: 00H
Symbol
7
ADM2
ADREFP1
ADREFM
0
1
ADRCK
0
1
Figure 9-8 shows the generation range of the interrupt signal (INTAD) for Area 1 to Area 3.
AWC
0
1
When there is a hardware trigger signal in the STOP mode, the STOP mode is exited, and A/D conversion is performed
without operating the CPU (the SNOOZE mode).
 The SNOOZE mode function can only be specified when the high-speed on-chip oscillator clock is selected for the
CPU/peripheral hardware clock (f
 Using the SNOOZE mode function in the software trigger mode or hardware trigger no-wait mode is prohibited.
 Using the SNOOZE mode function in the sequential conversion mode is prohibited.
 When using the SNOOZE mode function, specify a hardware trigger interval of at least "shift time to SNOOZE
mode
+ conversion start time + A/D power supply stabilization wait time + A/D conversion time +2 f
Note
 Even when using the SNOOZE function, set AWC bit to 0 in normal operation mode and change it to 1 just before
shifting to STOP mode.
Also, be sure to change the AWC bit to 0 after returning from STOP mode to normal operation mode.
If the AWC bit is left set to 1, A/D conversion will not start normally in spite of the subsequent SNOOZE or normal
operation mode.
ADTYP
0
1
Note Refer to "Transition time from STOP mode to SNOOZE mode" in 16.3.3 SNOOZE mode
Caution Only rewrite the value of the ADM2 register while conversion operation is stopped (ADCS = 0, ADCE
= 0).
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Figure 9-7. Format of A/D Converter Mode Register 2 (ADM2) (2/2)
R/W
6
5
ADREFP0
ADREFM
Selection of the  side reference voltage source of the A/D converter
Supplied from V
SS
Supplied from P21/AV
/ANI1
REFM
Checking the upper limit and lower limit conversion result values
The interrupt signal (INTAD) is output when the ADLL register  the ADCR register  the ADUL register
(Area 1).
The interrupt signal (INTAD) is output when the ADCR register < the ADLL register (Area 2) or the ADUL
register < the ADCR register (Area 3).
Do not use the SNOOZE mode function.
Use the SNOOZE mode function.
). If any other clock is selected, specifying this mode is prohibited.
CLK
12-bit resolution
8-bit resolution
4
<3>
0
ADRCK
Specification of the SNOOZE mode
Selection of the A/D conversion resolution
CHAPTER 9 A/D CONVERTER
<2>
1
AWC
0
clock"
CLK
<0>
ADTYP
259

Advertisement

Table of Contents
loading

Table of Contents