pub type RES_W<'a, const O: u8> = FieldWriterSafe<'a, u32, SINGLECTRL_SPEC, u8, RES_A, 2, O>;
Expand description

Field RES writer - Single Channel Resolution Select

Implementations§

source§

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

source

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

12-bit resolution.

source

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

8-bit resolution.

source

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

6-bit resolution.

source

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

Oversampling enabled. Oversampling rate is set in OVSRSEL.