Renesas M16C/29 Series Hardware Manual page 236

16-bit single-chip microcomputer
Hide thumbs Also See for M16C/29 Series:
Table of Contents

Advertisement

M16C/29 Group
A/D control register 0
b7
b6
Note: If the ADCON0 register is rewritten during A/D conversion, the conversion result will be indeterminate.
A/D control register 1
b7
b6
Note 1: If the ADCON1 register is rewritten during A/D conversion, the conversion result will be indeterminate.
Note 2: If the VCUT bit is reset from "0" (V
A/D control register 2
b7
b6
Note 1: If the ADCON2 register is rewritten during A/D conversion, the conversion result will be indeterminate.
Figure 15.2 ADCON0 to ADCON2 Registers
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
(Note)
Symbol
b5
b4
b3
b2
b1
b0
ADCON0
Bit symbol
CH0
Analog Input Pin Select
Bit
CH1
CH2
A/D Operation Mode
MD0
Select Bit 0
MD1
Trigger Select Bit
TRG
A/D Conversion Start Flag 0 : A/D conversion disabled
ADST
Frequency Select Bit 0
CKS0
(Note 1)
b5
b4
b3
b2
b1
b0
Symbol
ADCON1
Bit symbol
A/D Sweep Pin Select Bit
SCAN0
SCAN1
A/D Operation Mode
MD2
Select Bit 1
8/10-Bit Mode Select Bit
BITS
CKS1
Frequency Select Bit 1
V
Connect Bit
REF
VCUT
Nothing is assigned. When write, set to "0".
(b7-b6)
When read, its content is "0".
unconnected) to "1" (V
REF
starting A/D conversion.
(Note 1)
b5
b4
b3
b2
b1
b0
Symbol
0
ADCON2
Bit symbol
A/D Conversion Method
SMP
Select Bit
A/D Input Group Select Bit 0 0 : Select port P10 group (AN
ADGSEL0
ADGSEL1
Reserved Bit
(b3)
Frequency Select Bit 2
CKS2
Trigger Select Bit
TRG1
Nothing is assigned. When write, set to "0".
(b7-b6)
When read, its content is "0".
page 216 of 402
Address
After reset
03D6
00000XXX
16
2
Bit name
Function
Function varies with each operation mode
b4 b3
0 0 : One-shot mode or Delayed trigger mode 0,1
0 1 : Repeat mode
1 0 : Single sweep mode or
Simultaneous sample sweep mode
1 1 : Repeat sweep mode 0 or Repeat sweep
mode 1
0 : Software trigger
1 : Hardware trigger
1 : A/D conversion started
See Table 15.2 A/D Conversion
Frequency Select
Address
After reset
03D7
00
16
16
Bit name
Function
Function varies with each operation mode
0 : Other than repeat sweep mode 1
1 : Repeat sweep mode 1
0 : 8-bit mode
1 : 10-bit mode
See Table 15.2 A/D Conversion
Frequency Select
0 : V
not connected
REF
(Note 2)
1 : V
connected
REF
connected), wait for 1 µs or more before
REF
Address
After reset
03D4
00
16
16
Bit name
Function
0 : Without sample and hold
1 : With sample and hold
b2 b1
0 1 : Select port P9 group (AN
1 0 : Select port P0 group (AN
1 1 : Select port P1/P9 group (AN
"0"
Set to
See Table 15.2 A/D Conversion
Frequency Select
Function varies with each operation
mode
15. A/D Converter
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
)
RW
i
)
3i
)
0i
RW
)
2i
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents