pub type CH2_W<'a, const O: u8> = FieldWriterSafe<'a, u32, IDLECONF_SPEC, u8, CH2_A, 2, O>;
Expand description

Field CH2 writer - Channel 2 Idle Phase Configuration

Implementations§

source§

impl<'a, const O: u8> CH2_W<'a, O>

source

pub fn disable(self) -> &'a mut W

CH2 output is disabled in idle phase

source

pub fn high(self) -> &'a mut W

CH2 output is high in idle phase

source

pub fn low(self) -> &'a mut W

CH2 output is low in idle phase

source

pub fn dac(self) -> &'a mut W

CH2 output is connected to VDAC output in idle phase. Note that this mode is only available on channels 0, 1, 2, 3, 12, 13, 14, 15