//******************************************************************************
// MSP430G2xx3 Demo - USCI_B0 I2C Master Interface to DAC8571, Write
//
// Description: Using UCB0TXIE, a continuous sine wave is output to the
// external DAC using a 16-point look-up table. Only one start condition
// is executed. Data is handled by the ISR and the CPU is normally in LPM0.
// ACLK = n/a, MCLK = SMCLK = BRCLK = default DCO = ~1.2MHz
//
// MSP430G2xx3 DAC8571
// ------------------ ------------
// -|XIN P1.7/UCB0SDA|<--------------->|SDA |
// | P1.6/UCB0SCL|---------------->|SCL I2C |
// -|XOUT | | SLAVE |
// | I2C MASTER | GND|A0 |
//
//
// DAC8571 I2C address = 0x4C (A0 = GND)
//
// D. Dang
// Texas Instruments Inc.
// February 2011
// Built with CCS Version 4.2.0 and IAR Embedded Workbench Version: 5.10
//******************************************************************************
#include "msp430g2553.h"