Struct lpc55_pac::prince::lock::LOCKREG2_W [−][src]
pub struct LOCKREG2_W<'a> { /* fields omitted */ }
Field LOCKREG2
writer - Lock Region 2 registers.
Implementations
impl<'a> LOCKREG2_W<'a>
[src]
impl<'a> LOCKREG2_W<'a>
[src]pub fn variant(self, variant: LOCKREG2_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn disabled(self) -> &'a mut W
[src]
Disabled. IV_LSB2, IV_MSB2, BASE_ADDR2, and SR_ENABLE2 are writable..
pub fn enabled(self) -> &'a mut W
[src]
Enabled. IV_LSB2, IV_MSB2, BASE_ADDR2, and SR_ENABLE2 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