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

Field LFPRESC writer - Prescaling Factor for Low Frequency Timer

Implementations§

source§

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

source

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

Low frequency timer is clocked with LFACLKLESENSE/1

source

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

Low frequency timer is clocked with LFACLKLESENSE/2

source

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

Low frequency timer is clocked with LFACLKLESENSE/4

source

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

Low frequency timer is clocked with LFACLKLESENSE/8

source

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

Low frequency timer is clocked with LFACLKLESENSE/16

source

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

Low frequency timer is clocked with LFACLKLESENSE/32

source

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

Low frequency timer is clocked with LFACLKLESENSE/64

source

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

Low frequency timer is clocked with LFACLKLESENSE/128