Struct lpc82x::pmu::dpdctrl::W
[−]
[src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
fn reset_value() -> W
[src]
Reset value of the register
unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
fn wakeuphys(&mut self) -> _WAKEUPHYSW
[src]
Bit 0 - WAKEUP pin hysteresis enable
fn wakepad_disable(&mut self) -> _WAKEPAD_DISABLEW
[src]
Bit 1 - WAKEUP pin disable. Setting this bit disables the wake-up pin, so it can be used for other purposes. Never set this bit if you intend to use a pin to wake up the part from Deep power-down mode. You can only disable the wake-up pin if the self wake-up timer is enabled and configured. Setting this bit is not necessary if Deep power-down mode is not used.
fn lposcen(&mut self) -> _LPOSCENW
[src]
Bit 2 - Enable the low-power oscillator for use with the 10 kHz self wake-up timer clock. You must set this bit if the CLKSEL bit in the self wake-up timer CTRL bit is set. Do not enable the low-power oscillator if the self wake-up timer is clocked by the divided IRC or the external clock input.
fn lposcdpden(&mut self) -> _LPOSCDPDENW
[src]
Bit 3 - Enable the low-power oscillator in Deep power-down mode. Setting this bit causes the low-power oscillator to remain running during Deep power-down mode provided that bit 2 in this register is set as well. You must set this bit for the self wake-up timer to be able to wake up the part from Deep power-down mode. Do not set this bit unless you use the self wake-up timer with the low-power oscillator clock source to wake up from Deep power-down mode.
fn wakeupclkhys(&mut self) -> _WAKEUPCLKHYSW
[src]
Bit 4 - External clock input for the self wake-up timer WKTCLKIN hysteresis enable.
fn wakeclkpad_disable(&mut self) -> _WAKECLKPAD_DISABLEW
[src]
Bit 5 - Disable the external clock input for the self wake-up timer. Setting this bit enables the self wake-up timer clock pin WKTCLKLIN. To minimize power consumption, especially in deep power-down mode, disable this clock input when not using the external clock option for the self wake-up timer.