This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430F6638 DAC

Other Parts Discussed in Thread: MSP430F6638

Can anyone explain me the following code in simple words???

#include <msp430f6638.h>

 void main(void)

{

  WDTCTL = WDTPW + WDTHOLD;                

  DAC12_1CTL0 = DAC12IR + DAC12SREF_0 + DAC12AMP_5 + DAC12ENC + DAC12CALON;

  __delay_cycles(100);                      

  DAC12_1DAT = 0x7FF;                                      

     

  __bis_SR_register(LPM4_bits);             

}

Thanks in advance,

Lakshmi Polusani

 

**Attention** This is a public forum