Enum lpc13xx::pmu::pcon::SLEEPFLAGR [] [src]

pub enum SLEEPFLAGR {
    NO_POWER_DOWN,
    POWERDOWN,
}

Possible values of the field SLEEPFLAG

Variants

Read: No power-down mode entered. LPC13xx is in Run mode. Write: No effect.

Read: Sleep/Deep-sleep or Deep power-down mode entered. Write: Writing a 1 clears the SLEEPFLAG bit to 0.

Methods

impl SLEEPFLAGR
[src]

[src]

Returns true if the bit is clear (0)

[src]

Returns true if the bit is set (1)

[src]

Value of the field as raw bits

[src]

Checks if the value of the field is NO_POWER_DOWN

[src]

Checks if the value of the field is POWERDOWN

Trait Implementations

impl Clone for SLEEPFLAGR
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for SLEEPFLAGR
[src]

impl Debug for SLEEPFLAGR
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for SLEEPFLAGR
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

Auto Trait Implementations

impl Send for SLEEPFLAGR

impl Sync for SLEEPFLAGR