[][src]Enum cc13x2_cc26x2_hal::aon_pmctl::resetctl::RESET_SRCR

pub enum RESET_SRCR {
    WARMRESET,
    SYSRESET,
    CLK_LOSS,
    VDDR_LOSS,
    VDDS_LOSS,
    PIN_RESET,
    PWR_ON,
    _Reserved(u8),
}

Possible values of the field RESET_SRC

Variants

WARMRESET

Software reset via PRCM warm reset request

SYSRESET

Software reset via SYSRESET or hardware power management timeout detection.

Note: The hardware power management timeout circuit is always enabled.

CLK_LOSS

SCLK_LF, SCLK_MF or SCLK_HF clock loss detect

VDDR_LOSS

Brown out detect on VDDR

VDDS_LOSS

Brown out detect on VDDS

PIN_RESET

Reset pin

PWR_ON

Power on reset

_Reserved(u8)

Reserved

Methods

impl RESET_SRCR[src]

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

Value of the field as raw bits

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

Checks if the value of the field is WARMRESET

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

Checks if the value of the field is SYSRESET

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

Checks if the value of the field is CLK_LOSS

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

Checks if the value of the field is VDDR_LOSS

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

Checks if the value of the field is VDDS_LOSS

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

Checks if the value of the field is PIN_RESET

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

Checks if the value of the field is PWR_ON

Trait Implementations

impl Copy for RESET_SRCR[src]

impl Debug for RESET_SRCR[src]

impl PartialEq<RESET_SRCR> for RESET_SRCR[src]

impl Clone for RESET_SRCR[src]

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

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for RESET_SRCR

impl Sync for RESET_SRCR

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