pub type PCPRESC_W<'a, const O: u8> = FieldWriterSafe<'a, u32, TIMCTRL_SPEC, u8, PCPRESC_A, 3, O>;
Expand description

Field PCPRESC writer - Period Counter Prescaling

Implementations§

source§

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

source

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

The period counter clock frequency is LFACLKLESENSE/1

source

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

The period counter clock frequency is LFACLKLESENSE/2

source

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

The period counter clock frequency is LFACLKLESENSE/4

source

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

The period counter clock frequency is LFACLKLESENSE/8

source

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

The period counter clock frequency is LFACLKLESENSE/16

source

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

The period counter clock frequency is LFACLKLESENSE/32

source

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

The period counter clock frequency is LFACLKLESENSE/64

source

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

The period counter clock frequency is LFACLKLESENSE/128