01.04.2014 Views

Preliminary C8051F120/1/2/3 C8051F124/5/6/7 - KEMT FEI TUKE

Preliminary C8051F120/1/2/3 C8051F124/5/6/7 - KEMT FEI TUKE

Preliminary C8051F120/1/2/3 C8051F124/5/6/7 - KEMT FEI TUKE

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.

<strong>C8051F120</strong>/1/2/3<br />

<strong>C8051F124</strong>/5/6/7<br />

<strong>Preliminary</strong><br />

Figure 8.7. DAC1CN: DAC1 Control Register<br />

R/W R/W R/W R/W R/W R/W R/W R/W Reset Value<br />

DAC1EN - - DAC1MD1 DAC1MD0 DAC1DF2 DAC1DF1 DAC1DF0 00000000<br />

Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0<br />

SFR Address: 0xD4<br />

SFR Page: 1<br />

Bit7:<br />

Bits6-5:<br />

Bits4-3:<br />

Bits2-0:<br />

DAC1EN: DAC1 Enable Bit.<br />

0: DAC1 Disabled. DAC1 Output pin is disabled; DAC1 is in low-power shutdown mode.<br />

1: DAC1 Enabled. DAC1 Output pin is active; DAC1 is operational.<br />

UNUSED. Read = 00b; Write = don’t care.<br />

DAC1MD1-0: DAC1 Mode Bits:<br />

00: DAC output updates occur on a write to DAC1H.<br />

01: DAC output updates occur on Timer 3 overflow.<br />

10: DAC output updates occur on Timer 4 overflow.<br />

11: DAC output updates occur on Timer 2 overflow.<br />

DAC1DF2: DAC1 Data Format Bits:<br />

000: The most significant nibble of the DAC1 Data Word is in DAC1H[3:0], while the least<br />

significant byte is in DAC1L.<br />

DAC1H<br />

DAC1L<br />

MSB<br />

LSB<br />

001: The most significant 5-bits of the DAC1 Data Word is in DAC1H[4:0], while the least<br />

significant 7-bits are in DAC1L[7:1].<br />

DAC1H<br />

DAC1L<br />

MSB<br />

LSB<br />

010: The most significant 6-bits of the DAC1 Data Word is in DAC1H[5:0], while the least<br />

significant 6-bits are in DAC1L[7:2].<br />

DAC1H<br />

DAC1L<br />

MSB<br />

LSB<br />

011: The most significant 7-bits of the DAC1 Data Word is in DAC1H[6:0], while the least<br />

significant 5-bits are in DAC1L[7:3].<br />

DAC1H<br />

DAC1L<br />

MSB<br />

LSB<br />

MSB<br />

1xx:<br />

The most significant 8-bits of the DAC1 Data Word is in DAC1H[7:0], while the least<br />

significant 4-bits are in DAC1L[7:4].<br />

DAC1H<br />

DAC1L<br />

LSB<br />

Page 102<br />

DS008-0.8-AUG02 © 2002 Cygnal Integrated Products, Inc.

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

Saved successfully!

Ooh no, something went wrong!