Trait kernel::hil::dac::DacChannel

source ·
pub trait DacChannel {
    // Required method
    fn set_value(&self, value: usize) -> Result<(), ErrorCode>;
}
Expand description

Simple interface for using the DAC.

Required Methods§

source

fn set_value(&self, value: usize) -> Result<(), ErrorCode>

Set the DAC output value.

Implementors§