Struct Countertop
#[repr(transparent)]pub struct Countertop(pub u32);
Expand description
Value up to which the pulse generator counter counts
Tuple Fields§
§0: u32
Implementations§
§impl Countertop
impl Countertop
pub const fn countertop(&self) -> u16
pub const fn countertop(&self) -> u16
Value up to which the pulse generator counter counts. This register is ignored when DECODER.MODE=WaveForm and only values from RAM are used.
pub fn set_countertop(&mut self, val: u16)
pub fn set_countertop(&mut self, val: u16)
Value up to which the pulse generator counter counts. This register is ignored when DECODER.MODE=WaveForm and only values from RAM are used.
Trait Implementations§
§impl Clone for Countertop
impl Clone for Countertop
§fn clone(&self) -> Countertop
fn clone(&self) -> Countertop
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 more§impl Default for Countertop
impl Default for Countertop
§fn default() -> Countertop
fn default() -> Countertop
Returns the “default value” for a type. Read more
§impl PartialEq for Countertop
impl PartialEq for Countertop
impl Copy for Countertop
impl Eq for Countertop
impl StructuralPartialEq for Countertop
Auto Trait Implementations§
impl Freeze for Countertop
impl RefUnwindSafe for Countertop
impl Send for Countertop
impl Sync for Countertop
impl Unpin for Countertop
impl UnwindSafe for Countertop
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
)