#ifndef DAC_H_ #include "ti/driverlib/dl_i2c.h" #include "ti_msp_dl_config.h" #include #define DAC_TARGET_BASE_ADDRESS (0x60) #define CHANNEL_A_VALUE (800) // in mAmps #define I2C_GENERAL_CALL_ADDR 0x00 bool DAC_fastWrite(uint16_t channel_a_value); void DAC_UpdateOutput(); uint8_t DAC_ReadCurrentAddress(); #endif