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

Field TCCCOMP writer - Triggered Compare and Clear Compare Mode

Implementations§

source§

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

source

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

Compare match if PCNT_CNT is less than, or equal to PCNT_TOP.

source

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

Compare match if PCNT_CNT is greater than or equal to PCNT_TOP.

source

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

Compare match if PCNT_CNT is less than, or equal to PCNT_TOP[15:8]], and greater than, or equal to PCNT_TOP[7:0].