pub type STRSAMPLE_W<'a, const O: u8> = FieldWriter<'a, u32, CH6_EVAL_SPEC, u8, STRSAMPLE_A, 2, O>;
Expand description

Field STRSAMPLE writer - Enable Storing of Sensor Sample in Result Buffer

Implementations§

source§

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

source

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

Nothing will be stored in the result buffer.

source

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

The sensor sample data will be stored in the result buffer.

source

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

The data source (i.e., the channel) will be stored alongside the sensor sample data.