Trait kernel::hil::dac::DacChannel
[−]
[src]
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.