Struct rp_pac::clocks::regs::ClkSysResusCtrl
source · #[repr(transparent)]pub struct ClkSysResusCtrl(pub u32);
Tuple Fields§
§0: u32
Implementations§
source§impl ClkSysResusCtrl
impl ClkSysResusCtrl
sourcepub const fn timeout(&self) -> u8
pub const fn timeout(&self) -> u8
This is expressed as a number of clk_ref cycles and must be >= 2x clk_ref_freq/min_clk_tst_freq
sourcepub fn set_timeout(&mut self, val: u8)
pub fn set_timeout(&mut self, val: u8)
This is expressed as a number of clk_ref cycles and must be >= 2x clk_ref_freq/min_clk_tst_freq
sourcepub fn set_enable(&mut self, val: bool)
pub fn set_enable(&mut self, val: bool)
Enable resus
Trait Implementations§
source§impl Clone for ClkSysResusCtrl
impl Clone for ClkSysResusCtrl
source§fn clone(&self) -> ClkSysResusCtrl
fn clone(&self) -> ClkSysResusCtrl
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ClkSysResusCtrl
impl Default for ClkSysResusCtrl
source§fn default() -> ClkSysResusCtrl
fn default() -> ClkSysResusCtrl
Returns the “default value” for a type. Read more
source§impl PartialEq for ClkSysResusCtrl
impl PartialEq for ClkSysResusCtrl
impl Copy for ClkSysResusCtrl
impl Eq for ClkSysResusCtrl
impl StructuralPartialEq for ClkSysResusCtrl
Auto Trait Implementations§
impl Freeze for ClkSysResusCtrl
impl RefUnwindSafe for ClkSysResusCtrl
impl Send for ClkSysResusCtrl
impl Sync for ClkSysResusCtrl
impl Unpin for ClkSysResusCtrl
impl UnwindSafe for ClkSysResusCtrl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)