Struct dac8568::Dac[][src]

pub struct Dac<SPI, SYNC> { /* fields omitted */ }
Expand description

DAC8568

Implementations

Initialize a new instance of dac8568

Consume the dac and return the underlying SPI and GPIO pins used by it

Sets the output signal of the DAC to be inverted or non-inverted (default) Useful if the hardware engineer has designed an inverting gain stage after the DAC output

Set the specified value to the given channel. This will update the DAC to output the desired voltage

Configure the DAC to use its internal reference mode of 2.5v rather than using an external voltage reference

Configure the DAC to use its external reference mode rather than using the internal reference

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.