Type Alias gd32f1::gd32f190::usart0::ctl0::UesmR

source ·
pub type UesmR = BitReader<Uesm>;
Expand description

Field UESM reader - USART enable in Deep-sleep mode

Aliased Type§

struct UesmR { /* private fields */ }

Implementations§

source§

impl UesmR

source

pub const fn variant(&self) -> Uesm

Get enumerated values variant

source

pub fn is_disabled(&self) -> bool

USART not able to wake the MCU from deep-sleep mode

source

pub fn is_enabled(&self) -> bool

USART is able to wake the MCU from deep-sleep mode, as long as the clock source for the USART is IRC8M or LXTAL