Struct ad5668::AD5668 [−][src]
pub struct AD5668<SPI, CS> { /* fields omitted */ }
Expand description
AD5668 DAC driver. Wraps an I2C port to send commands to an AD5668
Implementations
Write input register for the dac at address with the value, does not update dac register yet
Update dac register for the dac at address TODO: Check if the data is written too or if this just updates data written earlier to the dac
Write to a single input register, then update all dac channels. This can be used as the last command when updating multiple DACs. First stage values for all DACs then update them simultaniously by performing the last write using this command
Write to input register and then update the dac register in one command.
Set the power to the dacs. Use power_mode to set the power down mode, channel states can be used to power up the individual dacs by setting the corresponding bits.
Enable the internal reference
Disable the internal reference