Skip to main content

DacChannel

Trait 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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§