21.07.2015 Views

M16C User Manual.pdf

M16C User Manual.pdf

M16C User Manual.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

D-A ConverterMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTERD-A control registerb7 b6 b5 b4 b3 b2 b1 b0Symbol Address When resetDACON 03DC16 0016Bit symbol Bit name Function R WDA0EDA1ED-A0 output enable bitD-A1 output enable bit0 : Output disabled1 : Output enabled0 : Output disabled1 : Output enabledNothing is assigned.In an attempt to write to these bits, write “0”. The value, if read, turns out to be “0”D-A registerb7b0Symbol Address When resetDAi (i = 0,1) 03D816, 03DA16 IndeterminateFigure 1.21.2. D-A control registerOutput value of D-A conversionFunctionR W D-A0 output enable bit“0”RRRRRRR2RDA0“1”2R2R2R2R2R2R2R2RMSBLSBD-A0 register0“0” “1”AVSSVREFNote 1: The above diagram shows an instance in which the D-A register is assigned 2A16.Note 2: The same circuit as this is also used for D-A1.Note 3: To reduce the current consumption when the D-A converter is not used, set the D-A output enable bit to 0 and set the D-A register to 0016so that no current flows in the resistors Rs and 2Rs.Figure 1.21.3. D-A converter equivalent circuit164

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

Saved successfully!

Ooh no, something went wrong!