Type Definition atsam4ls8b_pac::spi::mr::MSTR_R

source ·
pub type MSTR_R = BitReader<MSTRSELECT_A>;
Expand description

Field MSTR reader - Master/Slave Mode

Implementations§

source§

impl MSTR_R

source

pub fn variant(&self) -> MSTRSELECT_A

Get enumerated values variant

source

pub fn is_0(&self) -> bool

Checks if the value of the field is _0

source

pub fn is_1(&self) -> bool

Checks if the value of the field is _1