21.07.2015 Views

M16C User Manual.pdf

M16C User Manual.pdf

M16C User Manual.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A-D ConverterMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTERA-D control register 1 (Note)b7 b6 b5 b4 b3 b2 b1 b0Symbol Address When resetADCON1 03D716 0016Bit symbolSCAN0Bit nameA-D sweep pin select bitFunctionWhen single sweep and repeat sweepmode 0 are selectedb1 b00 0 : AN0, AN1 (2 pins)0 1 : AN0 to AN3 (4 pins)1 0 : AN0 to AN5 (6 pins)1 1 : AN0 to AN7 (8 pins)R WSCAN1MD2BITS 8/10-bit mode select bit 0 : 8-bit mode1 : 10-bit modeCKS1VCUTOPA0OPA1A-D operation modeselect bit 1Frequency select bit 1Vref connect bitExternal op-ampconnection mode bitWhen repeat sweep mode 1 is selectedb1 b00 0 : AN0 (1 pin)0 1 : AN0, AN1 (2 pins)1 0 : AN0 to AN2 (3 pins)1 1 : AN0 to AN3 (4 pins)0 : Any mode other than repeat sweepmode 11 : Repeat sweep mode 10 : fAD/2 or fAD/4 is selected1 : fAD is selected0 : Vref not connected1 : Vref connectedb7 b60 0 : ANEX0 and ANEX1 are not used0 1 : ANEX0 input is A-D converted1 0 : ANEX1 input is A-D converted1 1 : External op-amp connection modeNote: If the A-D control register is rewritten during A-D conversion, the conversion result isindeterminate.Figure 2.7.3. A-D converter-related registers (2)386

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!