pub type PRESC_W<'a, const O: u8> = FieldWriter<'a, u32, CTRL_SPEC, u8, PRESC_A, 4, O>;
Expand description

Field PRESC writer - Prescaler Setting

Implementations§

source§

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

source

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

The HFPERCLK is undivided

source

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

The HFPERCLK is divided by 2

source

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

The HFPERCLK is divided by 4

source

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

The HFPERCLK is divided by 8

source

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

The HFPERCLK is divided by 16

source

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

The HFPERCLK is divided by 32

source

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

The HFPERCLK is divided by 64

source

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

The HFPERCLK is divided by 128

source

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

The HFPERCLK is divided by 256

source

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

The HFPERCLK is divided by 512

source

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

The HFPERCLK is divided by 1024