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