[][src]Enum cc13x2_cc26x2_hal::aon_pmctl::ramcfg::BUS_SRAM_RET_ENR

pub enum BUS_SRAM_RET_ENR {
    RET_FULL,
    RET_LEVEL3,
    RET_LEVEL2,
    RET_LEVEL1,
    RET_NONE,
    _Reserved(u8),
}

Possible values of the field BUS_SRAM_RET_EN

Variants

RET_FULL

Retention on for all banks SRAM:BANK0, SRAM:BANK1 ,SRAM:BANK2, SRAM:BANK3 and SRAM:BANK4

RET_LEVEL3

Retention on for SRAM:BANK0, SRAM:BANK1 ,SRAM:BANK2 and SRAM:BANK3

RET_LEVEL2

Retention on for SRAM:BANK0, SRAM:BANK1 and SRAM:BANK2

RET_LEVEL1

Retention on for SRAM:BANK0 and SRAM:BANK1

RET_NONE

Retention is disabled

_Reserved(u8)

Reserved

Methods

impl BUS_SRAM_RET_ENR[src]

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

Value of the field as raw bits

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

Checks if the value of the field is RET_FULL

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

Checks if the value of the field is RET_LEVEL3

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

Checks if the value of the field is RET_LEVEL2

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

Checks if the value of the field is RET_LEVEL1

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

Checks if the value of the field is RET_NONE

Trait Implementations

impl PartialEq<BUS_SRAM_RET_ENR> for BUS_SRAM_RET_ENR[src]

impl Clone for BUS_SRAM_RET_ENR[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for BUS_SRAM_RET_ENR[src]

impl Debug for BUS_SRAM_RET_ENR[src]

Auto Trait Implementations

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto 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, U> Into for T where
    U: From<T>, 
[src]

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

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

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

impl<T> Same for T

type Output = T

Should always be Self