|
M16C6K9 Datasheet, PDF (140/292 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER | |||
|
◁ |
M16C/6K9 Group
A-D Converter
(a) Extended analog input pins
In one-shot mode and repeat mode, the input via the extended analog input pins ANEX0 and ANEX1 can
also be converted from analog to digital.
When bit 6 of the A-D control register 1 (address 03D716) is â1â and bit 7 is â0â, input via ANEX0 is converted
from analog to digital. The result of conversion is stored in A-D register 0.
When bit 6 of the A-D control register 1 (address 03D716) is â0â and bit 7 is â1â, input via ANEX1 is converted
from analog to digital. The result of conversion is stored in A-D register 1.
(b) Sample and hold
Sample and hold is selected by setting bit 0 of the A-D control register 2 (address 03D416) to â1â. When
sample and hold is selected, the rage of conversion of each pin increases. As a result, a 28 ÏAD cycle is
achieved with 8-bit resolution and 33ÏAD cycle with 10-bit resolution. Sample and hold can be selected in all
modes. However, in all modes, be sure to specify before starting A-D conversion whether sample and hold is
to be used.
Rev.1.00 Jun 06, 2003 page 140 of 290
|
▷ |