Type Definition atsam4lc8a_pac::iisc::mr::MODE_R

source ·
pub type MODE_R = BitReader<MODESELECT_A>;
Expand description

Field MODE reader - Master/Slave/Controller Mode

Implementations§

source§

impl MODE_R

source

pub fn variant(&self) -> MODESELECT_A

Get enumerated values variant

source

pub fn is_slave(&self) -> bool

Checks if the value of the field is SLAVE

source

pub fn is_master(&self) -> bool

Checks if the value of the field is MASTER