pub struct W(_);
Expand description
Register CLKDIV
writer
Implementations
sourceimpl W
impl W
sourcepub fn clk_divider0(&mut self) -> CLK_DIVIDER0_W<'_, 0>
pub fn clk_divider0(&mut self) -> CLK_DIVIDER0_W<'_, 0>
Bits 0:7 - Clock divider0 value. Clock divisor is 2n, where n = 0 bypasses the divider (divisor of 1). For example, a value of 1 means divided by 21 = 2, a value of 0xFF means divided by 2*255 = 510, and so on.
sourcepub fn clk_divider1(&mut self) -> CLK_DIVIDER1_W<'_, 8>
pub fn clk_divider1(&mut self) -> CLK_DIVIDER1_W<'_, 8>
Bits 8:15 - Clock divider1 value. Clock divisor is 2n, where n = 0 bypasses the divider (divisor of 1). For example, a value of 1 means divided by 21 = 2, a value of 0xFF means divided by 2*255 = 510, and so on.
sourcepub fn clk_divider2(&mut self) -> CLK_DIVIDER2_W<'_, 16>
pub fn clk_divider2(&mut self) -> CLK_DIVIDER2_W<'_, 16>
Bits 16:23 - Clock divider2 value. Clock divisor is 2n, where n = 0 bypasses the divider (divisor of 1). For example, a value of 1 means divided by 21 = 2, a value of 0xFF means divided by 2*255 = 510, and so on.
sourcepub fn clk_divider3(&mut self) -> CLK_DIVIDER3_W<'_, 24>
pub fn clk_divider3(&mut self) -> CLK_DIVIDER3_W<'_, 24>
Bits 24:31 - Clock divider3 value. Clock divisor is 2n, where n = 0 bypasses the divider (divisor of 1). For example, a value of 1 means divided by 21 = 2, a value of 0xFF means divided by 2*255 = 510, and so on.
Methods from Deref<Target = W<CLKDIV_SPEC>>
Trait Implementations
sourceimpl From<W<CLKDIV_SPEC>> for W
impl From<W<CLKDIV_SPEC>> for W
sourcefn from(writer: W<CLKDIV_SPEC>) -> Self
fn from(writer: W<CLKDIV_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more