Type Definition atsam4e16e_pac::tc2::cmr2::SBSMPLR_W

source ·
pub type SBSMPLR_W<'a, const O: u8> = FieldWriter<'a, u32, CMR2_SPEC, u8, SBSMPLR_A, 3, O>;
Expand description

Field SBSMPLR writer - Loading Edge Subsampling Ratio

Implementations§

source§

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

source

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

Load a Capture Register each selected edge

source

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

Load a Capture Register every 2 selected edges

source

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

Load a Capture Register every 4 selected edges

source

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

Load a Capture Register every 8 selected edges

source

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

Load a Capture Register every 16 selected edges