Struct lpc55_pac::spi0::cfg::MASTER_R [−][src]
pub struct MASTER_R(_);
Field MASTER
reader - Master mode select.
Implementations
impl MASTER_R
[src]
impl MASTER_R
[src]pub fn variant(&self) -> MASTER_A
[src]
Get enumerated values variant
pub fn is_slave_mode(&self) -> bool
[src]
Checks if the value of the field is SLAVE_MODE
pub fn is_master_mode(&self) -> bool
[src]
Checks if the value of the field is MASTER_MODE
Methods from Deref<Target = FieldReader<bool, MASTER_A>>
pub fn bit(&self) -> bool
[src]
Value of the field as raw bits.
pub fn bit_is_clear(&self) -> bool
[src]
Returns true
if the bit is clear (0).
pub fn bit_is_set(&self) -> bool
[src]
Returns true
if the bit is set (1).