pub type TCCPRESC_W<'a, const O: u8> = FieldWriterSafe<'a, u32, CTRL_SPEC, u8, TCCPRESC_A, 2, O>;
Expand description

Field TCCPRESC writer - Set the LFA Prescaler for Triggered Compare and Clear

Implementations§

source§

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

source

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

Compare and clear event each LFA cycle.

source

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

Compare and clear performed on every other LFA cycle.

source

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

Compare and clear performed on every 4th LFA cycle.

source

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

Compare and clear performed on every 8th LFA cycle.