[][src]Struct bl602_pac::glb::clk_cfg2::W

pub struct W(_);

Register clk_cfg2 writer

Implementations

impl W[src]

pub fn dma_clk_en(&mut self) -> DMA_CLK_EN_W[src]

Bits 24:31

pub fn ir_clk_en(&mut self) -> IR_CLK_EN_W[src]

Bit 23

pub fn ir_clk_div(&mut self) -> IR_CLK_DIV_W[src]

Bits 16:21

pub fn sf_clk_sel2(&mut self) -> SF_CLK_SEL2_W[src]

Bits 14:15

pub fn sf_clk_sel(&mut self) -> SF_CLK_SEL_W[src]

Bits 12:13

pub fn sf_clk_en(&mut self) -> SF_CLK_EN_W[src]

Bit 11

pub fn sf_clk_div(&mut self) -> SF_CLK_DIV_W[src]

Bits 8:10

pub fn hbn_uart_clk_sel(&mut self) -> HBN_UART_CLK_SEL_W[src]

Bit 7

pub fn uart_clk_en(&mut self) -> UART_CLK_EN_W[src]

Bit 4

pub fn uart_clk_div(&mut self) -> UART_CLK_DIV_W[src]

Bits 0:2

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

Writes raw bits to the register.

Methods from Deref<Target = W<CLK_CFG2_SPEC>>

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self[src]

Writes raw bits to the register.

Trait Implementations

impl Deref for W[src]

type Target = W<CLK_CFG2_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

impl From<W<CLK_CFG2_SPEC>> for W[src]

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin for W

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.