Type Alias W

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

Register pio_cfg0 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn pio_clk_div(&mut self) -> PIO_CLK_DIV_W<'_, PIO_CFG0_SPEC>

Bits 0:4

Source

pub fn pio_clk_en(&mut self) -> PIO_CLK_EN_W<'_, PIO_CFG0_SPEC>

Bit 8

Source

pub fn pio_clk_sel(&mut self) -> PIO_CLK_SEL_W<'_, PIO_CFG0_SPEC>

Bit 9

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