[][src]Trait kernel::hil::dac::DacChannel

pub trait DacChannel {
    fn initialize(&self) -> ReturnCode;
fn set_value(&self, value: usize) -> ReturnCode; }

Simple interface for using the DAC.

Required methods

fn initialize(&self) -> ReturnCode

Initialize and enable the DAC.

fn set_value(&self, value: usize) -> ReturnCode

Set the DAC output value.

Loading content...

Implementors

Loading content...