#[repr(transparent)]pub struct SubsecondCtrl(pub u32);Expand description
Subsecond Control
Tuple Fields§
§0: u32Implementations§
Source§impl SubsecondCtrl
impl SubsecondCtrl
Sourcepub const fn sub_second_cnt_en(&self) -> bool
pub const fn sub_second_cnt_en(&self) -> bool
Subsecond Counter Enable
Sourcepub const fn set_sub_second_cnt_en(&mut self, val: bool)
pub const fn set_sub_second_cnt_en(&mut self, val: bool)
Subsecond Counter Enable
Trait Implementations§
Source§impl Clone for SubsecondCtrl
impl Clone for SubsecondCtrl
Source§fn clone(&self) -> SubsecondCtrl
fn clone(&self) -> SubsecondCtrl
Returns a duplicate 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 Debug for SubsecondCtrl
impl Debug for SubsecondCtrl
Source§impl Default for SubsecondCtrl
impl Default for SubsecondCtrl
Source§fn default() -> SubsecondCtrl
fn default() -> SubsecondCtrl
Returns the “default value” for a type. Read more
Source§impl PartialEq for SubsecondCtrl
impl PartialEq for SubsecondCtrl
impl Copy for SubsecondCtrl
impl Eq for SubsecondCtrl
impl StructuralPartialEq for SubsecondCtrl
Auto Trait Implementations§
impl Freeze for SubsecondCtrl
impl RefUnwindSafe for SubsecondCtrl
impl Send for SubsecondCtrl
impl Sync for SubsecondCtrl
impl Unpin for SubsecondCtrl
impl UnwindSafe for SubsecondCtrl
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