English
Language : 

M32C8A Datasheet, PDF (275/372 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M32C/80 Series
M32C/8A Group
18. A/D Converter
A/D0 Control Register 4(1)
b7 b6 b5 b4 b3 b2 b1 b0
0000
00
Symbol
AD0CON4
Address
0392h
After Reset
XXXX 00XXb
Bit Symbol
Bit Name
Function
RW
−
(b1-b0)
Reserved bits
Set to 0.
Read as undefined value.
RW
MPS10
b3 b2
RW
MPS11
Multi-port sweep port
select bits(2)
0 0: (Note 3)
0 1: AN_0 to AN_7, AN15_0 to AN15_7
1 0:
1 1:
Do not set to these values.
RW
−
(b7-b4)
Reserved bits
Set to 0.
Read as undefined value.
RW
NOTES:
1. If the AD0CON4 register is rewritten during A/D conversion, the conversion result will be incorrect.
2. Set bits MPS11 and MPS10 to 00b in the 100-pin package.
3. When the MSS bit in the AD0CON3 register is set to 0 (multi-port sweep mode not used), set bits MPS11 and MPS10 to 00b.
When the MSS bit is set to 1 (multi-port sweep mode used), set bits MPS11 and MPS10 to 01b.
A/D0 Register i(1, 2, 3, 4) (i = 0 to 7)
b15
b8 b7
b0
000 000
Symbol
AD00
AD01 to AD03
AD04 to AD06
AD07
Address
0381h - 0380h
0383h - 0382h, 0385h - 0384h, 0387h - 0386h
0389h - 0388h, 038Bh - 038Ah, 038Dh - 038Ch
038Fh - 038Eh
Function
8 low-order bits of A/D conversion result
In 10-bit mode: 2 high-order bits of A/D conversion result
In 8-bit mode: Read as 0.
Reserved bits. Read as 0.
After Reset
00000000 XXXXXXXXb
00000000 XXXXXXXXb
00000000 XXXXXXXXb
00000000 XXXXXXXXb
RW
RO
RO
RO
NOTES:
1. When the AD0i register is read by program in DMAC operating mode, the conversion result is incorrect.
2. If the next A/D conversion result is stored before reading the previous result in the AD0i register, the result will be incorrect.
3. Only AD00 register is enabled in DMAC operating mode. The contents of other registers are undefined.
4. When using both DMAC operating mode and 10-bit mode, select a 16-bit transfer for DMAC.
Figure 18.6 AD0CON4 Register, AD00 to AD07 Registers
Rev.1.00 Jul 15, 2007 Page 258 of 352
REJ09B0385-0100