Type Alias W

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

Register dbi_config writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn clock_divide(&mut self) -> CLOCK_DIVIDE_W<'_, DBI_CONFIG_SPEC>

Bits 0:4 - Peripheral clock divide factor

Source

pub fn clock_enable(&mut self) -> CLOCK_ENABLE_W<'_, DBI_CONFIG_SPEC>

Bit 8 - Peripheral level clock gate enable

Source

pub fn clock_source(&mut self) -> CLOCK_SOURCE_W<'_, DBI_CONFIG_SPEC>

Bit 9 - Peripheral clock source register

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