#[repr(transparent)]pub struct Cr(pub u32);Expand description
GPT Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl Cr
impl Cr
Sourcepub const fn set_waiten(&mut self, val: Waiten)
pub const fn set_waiten(&mut self, val: Waiten)
GPT Wait Mode Enable
Sourcepub const fn set_dozeen(&mut self, val: Dozeen)
pub const fn set_dozeen(&mut self, val: Dozeen)
GPT Doze Mode Enable
Sourcepub const fn set_stopen(&mut self, val: Stopen)
pub const fn set_stopen(&mut self, val: Stopen)
GPT Stop Mode Enable
Sourcepub const fn set_clksrc(&mut self, val: Clksrc)
pub const fn set_clksrc(&mut self, val: Clksrc)
Clock Source Select
Sourcepub const fn set_en_24m(&mut self, val: bool)
pub const fn set_en_24m(&mut self, val: bool)
Enable Oscillator Clock Input
Trait Implementations§
impl Copy for Cr
impl Eq for Cr
impl StructuralPartialEq for Cr
Auto Trait Implementations§
impl Freeze for Cr
impl RefUnwindSafe for Cr
impl Send for Cr
impl Sync for Cr
impl Unpin for Cr
impl UnwindSafe for Cr
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