Struct rp_pac::ticks::regs::WatchdogCycles
source · #[repr(transparent)]pub struct WatchdogCycles(pub u32);
Tuple Fields§
§0: u32
Implementations§
source§impl WatchdogCycles
impl WatchdogCycles
sourcepub const fn watchdog_cycles(&self) -> u16
pub const fn watchdog_cycles(&self) -> u16
Total number of clk_tick cycles before the next tick.
sourcepub fn set_watchdog_cycles(&mut self, val: u16)
pub fn set_watchdog_cycles(&mut self, val: u16)
Total number of clk_tick cycles before the next tick.
Trait Implementations§
source§impl Clone for WatchdogCycles
impl Clone for WatchdogCycles
source§fn clone(&self) -> WatchdogCycles
fn clone(&self) -> WatchdogCycles
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 WatchdogCycles
impl Default for WatchdogCycles
source§fn default() -> WatchdogCycles
fn default() -> WatchdogCycles
Returns the “default value” for a type. Read more
source§impl PartialEq for WatchdogCycles
impl PartialEq for WatchdogCycles
impl Copy for WatchdogCycles
impl Eq for WatchdogCycles
impl StructuralPartialEq for WatchdogCycles
Auto Trait Implementations§
impl Freeze for WatchdogCycles
impl RefUnwindSafe for WatchdogCycles
impl Send for WatchdogCycles
impl Sync for WatchdogCycles
impl Unpin for WatchdogCycles
impl UnwindSafe for WatchdogCycles
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
)