DAC_Public_Macros
[DAC]
Defines | |
#define | DAC_VALUE(n) ((uint32_t)((n&0x3FF)<<6)) |
#define | DAC_BIAS_EN ((uint32_t)(1<<16)) |
#define | DAC_CCNT_VALUE(n) ((uint32_t)(n&0xff)) |
#define | DAC_DBLBUF_ENA ((uint32_t)(1<<1)) |
#define | DAC_CNT_ENA ((uint32_t)(1<<2)) |
#define | DAC_DMA_ENA ((uint32_t)(1<<3)) |
#define | DAC_DACCTRL_MASK ((uint32_t)(0x0F)) |
#define | PARAM_DACx(n) (((uint32_t *)n)==((uint32_t *)LPC_DAC)) |
Define Documentation
#define DAC_BIAS_EN ((uint32_t)(1<<16)) |
If this bit = 0: The settling time of the DAC is 1 microsecond max, and the maximum current is 700 microAmpere If this bit = 1: The settling time of the DAC is 2.5 microsecond and the maximum current is 350 microAmpere
Definition at line 97 of file lpc17xx_dac.h.
#define DAC_CCNT_VALUE | ( | n | ) | ((uint32_t)(n&0xff)) |
Value to reload interrupt DMA counter
Definition at line 99 of file lpc17xx_dac.h.
#define DAC_CNT_ENA ((uint32_t)(1<<2)) |
DCAR Time out count enable
Definition at line 104 of file lpc17xx_dac.h.
#define DAC_DACCTRL_MASK ((uint32_t)(0x0F)) |
DCAR DACCTRL mask bit
Definition at line 108 of file lpc17xx_dac.h.
#define DAC_DBLBUF_ENA ((uint32_t)(1<<1)) |
DCAR double buffering
Definition at line 102 of file lpc17xx_dac.h.
#define DAC_DMA_ENA ((uint32_t)(1<<3)) |
DCAR DMA access
Definition at line 106 of file lpc17xx_dac.h.
#define DAC_VALUE | ( | n | ) | ((uint32_t)((n&0x3FF)<<6)) |
After the selected settling time after this field is written with a new VALUE, the voltage on the AOUT pin (with respect to VSSA) is VALUE/1024 � VREF
Definition at line 92 of file lpc17xx_dac.h.
#define PARAM_DACx | ( | n | ) | (((uint32_t *)n)==((uint32_t *)LPC_DAC)) |
Macro to determine if it is valid DAC peripheral
Definition at line 111 of file lpc17xx_dac.h.
Generated on Mon Feb 8 10:01:43 2010 for LPC1700CMSIS Standard Peripheral Firmware Library by 1.5.9