Crate ad5668

Source
Expand description

Analog Devices AD5668 DAC Driver for Rust Embedded HAL [Build Status] (https://github.com/mendelt/ad5668/actions?query=workflow%3ABuild+event%3Apush+branch%3Amaster)

This is a driver crate for embedded Rust. It’s built on top of the Rust embedded HAL It supports sending commands to a AD5668 DAC over SPI.

First you create an instance of the driver wrapping the SPI port the DAC is connected to;

let mut dac = AD5668::new(spi, chip_select);

Now commands can be sent to the DAC, for example to set all outputs high

dac.write_input_register_update_all(Address::AllDacs, 0xffff);

§More information

Structs§

  • AD5668 DAC driver. Wraps an I2C port to send commands to an AD5668

Enums§