Type Alias W

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

Register uart_config writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

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

Bits 0:2 - Peripheral clock divide factor

Source

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

Bit 4 - Peripheral level clock gate enable

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