![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
Functions | |
| void | Chip_DAC_Init (LPC_DAC_T *pDAC) |
| Initial DAC configuration. | |
| STATIC INLINE void | Chip_DAC_DeInit (LPC_DAC_T *pDAC) |
| Shutdown DAC. | |
| STATIC INLINE void | Chip_DAC_UpdateValue (LPC_DAC_T *pDAC, uint32_t dac_value) |
| Update value to DAC buffer. | |
| STATIC INLINE void | Chip_DAC_SetBias (LPC_DAC_T *pDAC, uint32_t bias) |
| Set maximum update rate for DAC. | |
| STATIC INLINE void | Chip_DAC_ConfigDAConverterControl (LPC_DAC_T *pDAC, uint32_t dacFlags) |
| Enables the DMA operation and controls DMA timer. | |
| STATIC INLINE void | Chip_DAC_SetDMATimeOut (LPC_DAC_T *pDAC, uint32_t time_out) |
| Set reload value for interrupt/DMA counter. | |
| STATIC INLINE IntStatus | Chip_DAC_GetIntStatus (LPC_DAC_T *pDAC) |
| Get status for interrupt/DMA time out. | |
Enables the DMA operation and controls DMA timer.
| pDAC | : pointer to LPC_DAC_T |
| dacFlags | : An Or'ed value of the following DAC values:
|
Definition at line 94 of file dac_17xx_40xx.h.
Shutdown DAC.
| pDAC | : pointer to LPC_DAC_T |
Definition at line 58 of file dac_17xx_40xx.h.
Get status for interrupt/DMA time out.
| pDAC | : pointer to LPC_DAC_T |
Definition at line 115 of file dac_17xx_40xx.h.
| void Chip_DAC_Init | ( | LPC_DAC_T * | pDAC | ) |
Initial DAC configuration.
- Maximum current is 700 uA
- Value to AOUT is 0
| pDAC | : pointer to LPC_DAC_T |
Definition at line 51 of file dac_17xx_40xx.c.
Set maximum update rate for DAC.
| pDAC | : pointer to LPC_DAC_T |
| bias | : Using Bias value, should be:
|
Definition at line 79 of file dac_17xx_40xx.h.
Set reload value for interrupt/DMA counter.
| pDAC | : pointer to LPC_DAC_T |
| time_out | : time out to reload for interrupt/DMA counter |
Definition at line 105 of file dac_17xx_40xx.h.