pub type SCANMODE_W<'a, const O: u8> = FieldWriter<'a, u32, CTRL_SPEC, u8, SCANMODE_A, 2, O>;
Expand description

Field SCANMODE writer - Configure Scan Mode

Implementations§

source§

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

source

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

A new scan is started each time the period counter overflows

source

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

A single scan is performed when START in CMD is set

source

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

Pulse on PRS channel