English
Language : 

M32C8A Datasheet, PDF (276/372 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M32C/80 Series
M32C/8A Group
18. A/D Converter
If analog input shares the pin with other peripheral function inputs, a through current may flow to the peripheral
function inputs when an intermediate voltage is applied to the pin. To prevent through current, set the control bit for
the corresponding pin to 1, and other peripheral inputs are disconnected.
Table 18.2
Pin
P9_5
P9_6
P10_4
P10_5
P10_6
P10_7
Analog Input Pin Setting
Function
Control Bit
PSC Register PSL3 Register
ANEX0
−
PSL3_5 = 1
ANEX1
−
PSL3_6 = 1
AN_4
−
AN_5
AN_6
−
PSC_7 = 1
−
AN_7
−
18.1 Mode Descriptions
The A/D converter has seven different modes. Table 18.3 lists settings for these modes.
Table 18.3 Mode Settings
Mode
One-shot mode
Repeat mode
Single sweep mode
Repeat sweep mode 0
Repeat sweep mode 1
Multi-port single sweep mode
Multi-port repeat sweep mode 0
−: Can be either 0 or 1.
AD0CON0 register
MD1 bit
MD0 bit
0
0
0
1
1
0
1
1
1
1
1
0
1
1
AD0CON1 register
MD2 bit
0
0
0
0
1
0
0
AD0CON3 register
MSS bit
DUS bit
0
−
0
−
0
−
0
−
0
−
1
1
1
1
Rev.1.00 Jul 15, 2007 Page 259 of 352
REJ09B0385-0100