Type Alias R

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

Register uart_config reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn clock_divide(&self) -> CLOCK_DIVIDE_R

Bits 0:2 - Peripheral clock divide factor

Source

pub fn clock_enable(&self) -> CLOCK_ENABLE_R

Bit 4 - Peripheral level clock gate enable

Source

pub fn hibernate_clock_source(&self) -> HIBERNATE_CLOCK_SOURCE_R

Bit 7 - Reads clock source from hibernate registers

Source

pub fn hibernate_clock_source_2(&self) -> HIBERNATE_CLOCK_SOURCE_2_R

Bit 22 - Reads clock source from hibernate registers