R01UH0136EJ0210 Rev.2.10
Page 620 of 800
Jul 31, 2012
M16C/64A Group
27. A/D Converter
27.2.2
Open-Circuit Detection Assist Function Register (AINRST)
AINRST1-AINRST0 (Open-circuit detection assist function enable bit) (b5-b4)
To enable the A/D open-circuit detection assist function, set the AINRST0 bit or AINRST1 bit to 1, and
then set the ADST bit in the ADCON0 register to 1 (A/D conversion) after waiting for one cycle of
φ
AD.
b7 b6 b5 b4
b1
b2
b3
Symbol
AINRST
Address
03A2h
Reset Value
XX00 XXXXb
b0
Function
Bit Symbol
Bit Name
RW
Open-Circuit Detection Assist Function Register
—
(b7-b6)
AINRST0
AINRST1
No register bits. If necessary, set to 0. The read value is undefined.
—
(b3-b0)
—
RW
RW
—
No register bits. If necessary, set to 0. The read value is undefined.
Open-circuit detection assist
function enable bit
b5 b4
0 0 : Open-circuit detection disabled
0 1 : Charge before conversion
1 0 : Discharge before conversion
1 1 : Do not set
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...