Struct lpc55_pac::prince::lock::LOCKMASK_W [−][src]
pub struct LOCKMASK_W<'a> { /* fields omitted */ }
Field LOCKMASK
writer - Lock the Mask registers.
Implementations
impl<'a> LOCKMASK_W<'a>
[src]
impl<'a> LOCKMASK_W<'a>
[src]pub fn variant(self, variant: LOCKMASK_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn disabled(self) -> &'a mut W
[src]
Disabled. MASK_LSB, and MASK_MSB are writable..
pub fn enabled(self) -> &'a mut W
[src]
Enabled. MASK_LSB, and MASK_MSB are not writable..
pub fn set_bit(self) -> &'a mut W
[src]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W
[src]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W
[src]
Writes raw bits to the field