[][src]Enum stm32l0xx_hal::stm32::flash::optr::BOR_LEVR

pub enum BOR_LEVR {
    BOR_OFF,
    BOR_LEVEL1,
    BOR_LEVEL2,
    BOR_LEVEL3,
    BOR_LEVEL4,
    BOR_LEVEL5,
    _Reserved(u8),
}

Possible values of the field BOR_LEV

Variants

BOR_OFF

This is the reset threshold level for the 1.45 V - 1.55 V voltage range (power-down only)

BOR_LEVEL1

Reset threshold level for VBOR0 (around 1.8 V)

BOR_LEVEL2

Reset threshold level for VBOR1 (around 2.0 V)

BOR_LEVEL3

Reset threshold level for VBOR2 (around 2.5 V)

BOR_LEVEL4

Reset threshold level for VBOR3 (around 2.7 V)

BOR_LEVEL5

Reset threshold level for VBOR4 (around 3.0 V)

_Reserved(u8)

Reserved

Methods

impl BOR_LEVR[src]

pub fn bits(&self) -> u8[src]

Value of the field as raw bits

pub fn is_bor_off(&self) -> bool[src]

Checks if the value of the field is BOR_OFF

pub fn is_bor_level1(&self) -> bool[src]

Checks if the value of the field is BOR_LEVEL1

pub fn is_bor_level2(&self) -> bool[src]

Checks if the value of the field is BOR_LEVEL2

pub fn is_bor_level3(&self) -> bool[src]

Checks if the value of the field is BOR_LEVEL3

pub fn is_bor_level4(&self) -> bool[src]

Checks if the value of the field is BOR_LEVEL4

pub fn is_bor_level5(&self) -> bool[src]

Checks if the value of the field is BOR_LEVEL5

Trait Implementations

impl PartialEq<BOR_LEVR> for BOR_LEVR[src]

impl Debug for BOR_LEVR[src]

impl Copy for BOR_LEVR[src]

impl Clone for BOR_LEVR[src]

Auto Trait Implementations

impl Unpin for BOR_LEVR

impl Send for BOR_LEVR

impl Sync for BOR_LEVR

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self