#[repr(transparent)]pub struct Ctrl(pub u16);Expand description
Control
Tuple Fields§
§0: u16Implementations§
Source§impl Ctrl
impl Ctrl
Sourcepub const fn set_fineen(&mut self, val: bool)
pub const fn set_fineen(&mut self, val: bool)
Fine Compensation Enable
Sourcepub const fn set_comp_en(&mut self, val: bool)
pub const fn set_comp_en(&mut self, val: bool)
Compensation Enable
Sourcepub const fn set_alm_match(&mut self, val: AlmMatch)
pub const fn set_alm_match(&mut self, val: AlmMatch)
Alarm Match
Sourcepub const fn set_dst_en(&mut self, val: bool)
pub const fn set_dst_en(&mut self, val: bool)
Daylight Saving Enable
Sourcepub const fn set_clk_sel(&mut self, val: ClkSel)
pub const fn set_clk_sel(&mut self, val: ClkSel)
RTC Clock Select
Sourcepub const fn set_clko_dis(&mut self, val: ClkoDis)
pub const fn set_clko_dis(&mut self, val: ClkoDis)
Clock Output Disable
Sourcepub const fn set_clkout(&mut self, val: Clkout)
pub const fn set_clkout(&mut self, val: Clkout)
RTC Clock Output Selection
Trait Implementations§
impl Copy for Ctrl
impl Eq for Ctrl
impl StructuralPartialEq for Ctrl
Auto Trait Implementations§
impl Freeze for Ctrl
impl RefUnwindSafe for Ctrl
impl Send for Ctrl
impl Sync for Ctrl
impl Unpin for Ctrl
impl UnwindSafe for Ctrl
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