Type Alias nrf52840_pac::power::pofcon::THRESHOLD_R

source ·
pub type THRESHOLD_R = FieldReader<u8, THRESHOLD_A>;
Expand description

Field THRESHOLD reader - 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.

Aliased Type§

struct THRESHOLD_R { /* private fields */ }

Implementations§

source§

impl THRESHOLD_R

source

pub fn variant(&self) -> Option<THRESHOLD_A>

Get enumerated values variant

source

pub fn is_v17(&self) -> bool

Checks if the value of the field is V17

source

pub fn is_v18(&self) -> bool

Checks if the value of the field is V18

source

pub fn is_v19(&self) -> bool

Checks if the value of the field is V19

source

pub fn is_v20(&self) -> bool

Checks if the value of the field is V20

source

pub fn is_v21(&self) -> bool

Checks if the value of the field is V21

source

pub fn is_v22(&self) -> bool

Checks if the value of the field is V22

source

pub fn is_v23(&self) -> bool

Checks if the value of the field is V23

source

pub fn is_v24(&self) -> bool

Checks if the value of the field is V24

source

pub fn is_v25(&self) -> bool

Checks if the value of the field is V25

source

pub fn is_v26(&self) -> bool

Checks if the value of the field is V26

source

pub fn is_v27(&self) -> bool

Checks if the value of the field is V27

source

pub fn is_v28(&self) -> bool

Checks if the value of the field is V28