/*
 * dac.h
 *      Author: Arthur
 */

#ifndef LPC8XX_DAC_H_
#define LPC8XX_DAC_H_


// D/A Converter Register (VAL) shifters
#define DAC_VALUE 6
#define DAC_BIAS  16

// CTRL register shifters
#define DAC_INT_DMA_REQ  0
#define DAC_DBLBUF_ENA   1
#define DAC_CNT_ENA      2
#define DAC_DMA_ENA      3


#endif /* LPC8XX_DAC_H_ */
