![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
Functions | |
| void | Chip_DAC_Init (LPC_DAC_T *pDAC) |
| Initial DAC configuration. | |
| 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 (IP_DAC_001_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. | |
| STATIC INLINE void Chip_DAC_ConfigDAConverterControl | ( | IP_DAC_001_T * | pDAC, |
| uint32_t | dacFlags | ||
| ) |
Enables the DMA operation and controls DMA timer.
| pDAC | : pointer to the DAC peripheral block |
| dacFlags | : An Or'ed value of the following DAC values:
|
Definition at line 96 of file dac_18xx_43xx.h.
| void Chip_DAC_DeInit | ( | LPC_DAC_T * | pDAC | ) |
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 117 of file dac_18xx_43xx.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 81 of file dac_18xx_43xx.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 107 of file dac_18xx_43xx.h.