Struct lpc55_pac::prince::lock::LOCKREG0_W [−][src]
pub struct LOCKREG0_W<'a> { /* fields omitted */ }
Field LOCKREG0
writer - Lock Region 0 registers.
Implementations
impl<'a> LOCKREG0_W<'a>
[src]
impl<'a> LOCKREG0_W<'a>
[src]pub fn variant(self, variant: LOCKREG0_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn disabled(self) -> &'a mut W
[src]
Disabled. IV_LSB0, IV_MSB0, BASE_ADDR0, and SR_ENABLE0 are writable..
pub fn enabled(self) -> &'a mut W
[src]
Enabled. IV_LSB0, IV_MSB0, BASE_ADDR0, and SR_ENABLE0 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