Struct lpc13xx::pmu::pcon::_SLEEPFLAGW
[−]
[src]
pub struct _SLEEPFLAGW<'a> { /* fields omitted */ }
Proxy
Methods
impl<'a> _SLEEPFLAGW<'a>
[src]
pub fn variant(self, variant: SLEEPFLAGW) -> &'a mut W
[src]
Writes variant
to the field
pub fn no_power_down(self) -> &'a mut W
[src]
Read: No power-down mode entered. LPC13xx is in Run mode. Write: No effect.
pub fn powerdown(self) -> &'a mut W
[src]
Read: Sleep/Deep-sleep or Deep power-down mode entered. Write: Writing a 1 clears the SLEEPFLAG bit to 0.
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