Type Alias gd32f1::gd32f130::spi0::ctl0::MstmodR

source ·
pub type MstmodR = BitReader<Mstmod>;
Expand description

Field MSTMOD reader - Master selection

Aliased Type§

struct MstmodR { /* private fields */ }

Implementations§

source§

impl MstmodR

source

pub const fn variant(&self) -> Mstmod

Get enumerated values variant

source

pub fn is_slave(&self) -> bool

Slave configuration

source

pub fn is_master(&self) -> bool

Master configuration