Struct Refresh
#[repr(transparent)]pub struct Refresh(pub u32);
Expand description
Description cluster: Number of additional PWM periods between samples loaded into compare register
Tuple Fields§
§0: u32
Implementations§
§impl Refresh
impl Refresh
pub const fn cnt(&self) -> RefreshCnt
pub const fn cnt(&self) -> RefreshCnt
Number of additional PWM periods between samples loaded into compare register (load every REFRESH.CNT+1 PWM periods)
pub fn set_cnt(&mut self, val: RefreshCnt)
pub fn set_cnt(&mut self, val: RefreshCnt)
Number of additional PWM periods between samples loaded into compare register (load every REFRESH.CNT+1 PWM periods)
Trait Implementations§
impl Copy for Refresh
impl Eq for Refresh
impl StructuralPartialEq for Refresh
Auto Trait Implementations§
impl Freeze for Refresh
impl RefUnwindSafe for Refresh
impl Send for Refresh
impl Sync for Refresh
impl Unpin for Refresh
impl UnwindSafe for Refresh
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
)