Type Alias gd32f1::gd32f190::can0::stat::SlpwsR

source ·
pub type SlpwsR = BitReader<Slpws>;
Expand description

Field SLPWS reader - Sleep working state

Aliased Type§

struct SlpwsR { /* private fields */ }

Implementations§

source§

impl SlpwsR

source

pub const fn variant(&self) -> Slpws

Get enumerated values variant

source

pub fn is_normal(&self) -> bool

CAN is not in sleep working mode

source

pub fn is_sleeping(&self) -> bool

CAN is in sleep working mode