Type Alias gd32f1::gd32f130::i2c0::stat1::MasterR

source ·
pub type MasterR = BitReader<Master>;
Expand description

Field MASTER reader - A flag indicating whether I2C block is in master or slave mode

Aliased Type§

struct MasterR { /* private fields */ }

Implementations§

source§

impl MasterR

source

pub const fn variant(&self) -> Master

Get enumerated values variant

source

pub fn is_slave(&self) -> bool

Slave mode

source

pub fn is_master(&self) -> bool

Master mode