pub trait ConversionMode {
    // Required method
    fn bits(&self) -> u8;
}
Expand description

The two conversion mode structs implement this trait.

This allows the MCP3425 instance to be generic over the conversion mode.

Required Methods§

source

fn bits(&self) -> u8

Return the bitmask for this conversion mode

Implementors§