Enum nrf52833_hal::pac::power::pofcon::THRESHOLD_A[][src]

#[repr(u8)]
pub enum THRESHOLD_A {
    V17,
    V18,
    V19,
    V20,
    V21,
    V22,
    V23,
    V24,
    V25,
    V26,
    V27,
    V28,
}
Expand description

Power-fail comparator threshold setting. This setting applies both for normal voltage mode (supply connected to both VDD and VDDH) and high voltage mode (supply connected to VDDH only). Values 0-3 set threshold below 1.7 V and should not be used as brown out detection will be activated before power failure warning on such low voltages.

Value on reset: 0

Variants

V17

4: Set threshold to 1.7 V

V18

5: Set threshold to 1.8 V

V19

6: Set threshold to 1.9 V

V20

7: Set threshold to 2.0 V

V21

8: Set threshold to 2.1 V

V22

9: Set threshold to 2.2 V

V23

10: Set threshold to 2.3 V

V24

11: Set threshold to 2.4 V

V25

12: Set threshold to 2.5 V

V26

13: Set threshold to 2.6 V

V27

14: Set threshold to 2.7 V

V28

15: Set threshold to 2.8 V

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Casts the value.

Should always be Self

Casts the value.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Casts the value.

Casts the value.