![]() |
Linduino
1.3.0
Linear Technology Arduino-Compatible Demonstration Board
|
LTC2668 16-Channel SPI 16-/12-Bit +/-10V Vout SoftSpan DACs with 10ppm/C Max Reference. More...
LTC2668 16-Channel SPI 16-/12-Bit +/-10V Vout SoftSpan DACs with 10ppm/C Max Reference.
Definition in file LTC2668.cpp.
Go to the source code of this file.
Functions | |
int8_t | LTC2668_write (uint8_t cs, uint8_t dac_command, uint8_t dac_address, uint16_t dac_code) |
Write the 16-bit dac_code to the LTC2668. More... | |
uint16_t | LTC2668_voltage_to_code (float dac_voltage, float min_output, float max_output) |
Calculate a LTC2668 DAC code given the desired output voltage and DAC address (0-3) More... | |
float | LTC2668_code_to_voltage (uint16_t dac_code, float min_output, float max_output) |
Calculate the LTC2668 DAC output voltage given the DAC code, offset, and LSB. More... | |
float LTC2668_code_to_voltage | ( | uint16_t | dac_code, |
float | min_output, | ||
float | max_output | ||
) |
Calculate the LTC2668 DAC output voltage given the DAC code, offset, and LSB.
Definition at line 117 of file LTC2668.cpp.
uint16_t LTC2668_voltage_to_code | ( | float | dac_voltage, |
float | min_output, | ||
float | max_output | ||
) |
Calculate a LTC2668 DAC code given the desired output voltage and DAC address (0-3)
Definition at line 103 of file LTC2668.cpp.
int8_t LTC2668_write | ( | uint8_t | cs, |
uint8_t | dac_command, | ||
uint8_t | dac_address, | ||
uint16_t | dac_code | ||
) |
Write the 16-bit dac_code to the LTC2668.
Definition at line 70 of file LTC2668.cpp.