Skip to main content

ENABLED_W

Type Alias ENABLED_W 

Source
pub type ENABLED_W<'a, REG, const O: u8> = BitWriter<'a, REG, O, ENABLED_A>;
Expand description

Field enabled writer - UART enabled, to enable UART block, it is used to drive a gated clock in order to save power consumption when UART is not used.

Aliased Type§

pub struct ENABLED_W<'a, REG, const O: u8> { /* private fields */ }

Implementations§

Source§

impl<'a, REG, const O: u8> ENABLED_W<'a, REG, O>
where REG: Writable + RegisterSpec,

Source

pub fn disabled(self) -> &'a mut W<REG>

UART disabled.

Source

pub fn enabled(self) -> &'a mut W<REG>

UART enabled.