#[repr(transparent)]pub struct ChDiv(pub u32);
Expand description
INT and FRAC form a fixed-point fractional number. Counting rate is system clock frequency divided by this number. Fractional division uses simple 1st-order sigma-delta.
Tuple Fields§
§0: u32
Implementations§
Trait Implementations§
impl Copy for ChDiv
impl Eq for ChDiv
impl StructuralPartialEq for ChDiv
Auto Trait Implementations§
impl Freeze for ChDiv
impl RefUnwindSafe for ChDiv
impl Send for ChDiv
impl Sync for ChDiv
impl Unpin for ChDiv
impl UnwindSafe for ChDiv
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
)