Struct rp2040_pac2::clocks::regs::ClkSysResusCtrl[][src]

#[repr(transparent)]pub struct ClkSysResusCtrl(pub u32);

Implementations

impl ClkSysResusCtrl[src]

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

For clearing the resus after the fault that triggered it has been corrected

pub fn set_clear(&mut self, val: bool)[src]

For clearing the resus after the fault that triggered it has been corrected

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

Force a resus, for test purposes only

pub fn set_frce(&mut self, val: bool)[src]

Force a resus, for test purposes only

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

Enable resus

pub fn set_enable(&mut self, val: bool)[src]

Enable resus

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

This is expressed as a number of clk_ref cycles and must be >= 2x clk_ref_freq/min_clk_tst_freq

pub fn set_timeout(&mut self, val: u8)[src]

This is expressed as a number of clk_ref cycles and must be >= 2x clk_ref_freq/min_clk_tst_freq

Trait Implementations

impl Clone for ClkSysResusCtrl[src]

impl Copy for ClkSysResusCtrl[src]

impl Default for ClkSysResusCtrl[src]

Auto Trait Implementations

impl Send for ClkSysResusCtrl

impl Sync for ClkSysResusCtrl

impl Unpin for ClkSysResusCtrl

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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> 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.