Type Alias W

Source
pub type W = W<BASE_CLOCK_SPEC>;
Expand description

Register base_clock writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn divide_low(&mut self) -> DIVIDE_LOW_W<'_, BASE_CLOCK_SPEC>

Bits 0:11 - Lower half of base clock dividing factor

Source

pub fn divide_high(&mut self) -> DIVIDE_HIGH_W<'_, BASE_CLOCK_SPEC>

Bits 16:27 - Higher half of base clock dividing factor

Source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual