|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
MCP4725 Driver procedures. More...


Data Structures | |
| struct | MCP4725_t |
| MCP4725 user interface struct. More... | |
Functions | |
| FctERR | MCP4725_Init_Sequence (MCP4725_t *const pCpnt) |
| Initialization Sequence of the MCP4725 peripheral. | |
| FctERR | MCP4725_Set_Mode (MCP4725_t *const pCpnt, const MCP4725_cmd mode) |
| Set mode of the MCP4725 peripheral. | |
| FctERR | MCP4725_Set_PowerDown (MCP4725_t *const pCpnt, const MCP4725_pd pd) |
| Set Power down mode of the MCP4725 peripheral. | |
| FctERR | MCP4725_Set_VRef (MCP4725_t *const pCpnt, const float vref) |
| Set VRef for MCP4725 peripheral. | |
| FctERR | MCP4725_Set_Val (MCP4725_t *const pCpnt, const uint16_t val) |
| Write Raw DAC value to MCP4725 peripheral. | |
| FctERR | MCP4725_Set_Volts (MCP4725_t *const pCpnt, const float volts) |
| Write DAC value (in Volts) to MCP4725 peripheral. | |
Variables | |
| MCP4725_t | MCP4725 [I2C_MCP4725_NB] |
| MCP4725 User structure. | |
MCP4725 Driver procedures.
MCP4725: 12-Bit Digital-to-Analog Converter with EEPROM Memory
| FctERR MCP4725_Init_Sequence | ( | MCP4725_t *const | pCpnt | ) |
Initialization Sequence of the MCP4725 peripheral.
| [in] | pCpnt | - Pointer to MCP4725 component |


| FctERR MCP4725_Set_Mode | ( | MCP4725_t *const | pCpnt, |
| const MCP4725_cmd | mode ) |
Set mode of the MCP4725 peripheral.
| [in] | pCpnt | - Pointer to MCP4725 component |
| [in] | mode | - operating mode of MCP4725 |

| FctERR MCP4725_Set_PowerDown | ( | MCP4725_t *const | pCpnt, |
| const MCP4725_pd | pd ) |
Set Power down mode of the MCP4725 peripheral.
| [in] | pCpnt | - Pointer to MCP4725 component |
| [in] | pd | - Power down mode of MCP4725 |


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

| FctERR MCP4725_Set_Volts | ( | MCP4725_t *const | pCpnt, |
| const float | volts ) |
Write DAC value (in Volts) to MCP4725 peripheral.
| [in] | pCpnt | - Pointer to MCP4725 component |
| [in] | volts | - Volts DAC value |

| FctERR MCP4725_Set_VRef | ( | MCP4725_t *const | pCpnt, |
| const float | vref ) |
Set VRef for MCP4725 peripheral.
| [in] | pCpnt | - Pointer to MCP4725 component |
| [in] | vref | - Voltage reference of MCP4725 |

|
extern |
MCP4725 User structure.