W

Type Alias W 

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

Register CLKDIV writer

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn clk_divider0(&mut self) -> CLK_DIVIDER0_W<'_, CLKDIV_SPEC>

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.

Source

pub fn clk_divider1(&mut self) -> CLK_DIVIDER1_W<'_, CLKDIV_SPEC>

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.

Source

pub fn clk_divider2(&mut self) -> CLK_DIVIDER2_W<'_, CLKDIV_SPEC>

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.

Source

pub fn clk_divider3(&mut self) -> CLK_DIVIDER3_W<'_, CLKDIV_SPEC>

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.