|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
MCP4725 Driver extensions. More...
#include "MCP4725.h"
Functions | |
| FctERR | MCP4725_Write_Command (MCP4725_t *const pCpnt, const uint16_t val) |
| Write Command to MCP4725 peripheral. | |
| FctERR | MCP4725_Read_DAC (MCP4725_t *const pCpnt, uint16_t *const val) |
| Read DAC value. | |
| FctERR | MCP4725_Read_State (MCP4725_t *const pCpnt, bool *const state) |
| Read DAC state. | |
MCP4725 Driver extensions.
MCP4725: 12-Bit Digital-to-Analog Converter with EEPROM Memory
| FctERR MCP4725_Read_DAC | ( | MCP4725_t *const | pCpnt, |
| uint16_t *const | val ) |
Read DAC value.
| [in] | pCpnt | - Pointer to MCP4725 component |
| [in] | val | - pointer to DAC value to read to |

| FctERR MCP4725_Read_State | ( | MCP4725_t *const | pCpnt, |
| bool *const | state ) |
Read DAC state.
| [in] | pCpnt | - Pointer to MCP4725 component |
| [in] | state | - pointer to state to read to (0 Ready, 1 Busy) |

| FctERR MCP4725_Write_Command | ( | MCP4725_t *const | pCpnt, |
| const uint16_t | val ) |
Write Command to MCP4725 peripheral.
| [in] | pCpnt | - Pointer to MCP4725 component |
| [in] | val | - Raw DAC value for MCP4725 to write |

