#[repr(transparent)]pub struct Ahbclkdiv(pub u32);Expand description
System clock divider
Tuple Fields§
§0: u32Implementations§
Source§impl Ahbclkdiv
impl Ahbclkdiv
Sourcepub const fn reset(&self) -> AhbclkdivReset
pub const fn reset(&self) -> AhbclkdivReset
Resets the divider counter.
Sourcepub const fn set_reset(&mut self, val: AhbclkdivReset)
pub const fn set_reset(&mut self, val: AhbclkdivReset)
Resets the divider counter.
Sourcepub const fn halt(&self) -> AhbclkdivHalt
pub const fn halt(&self) -> AhbclkdivHalt
Halts the divider counter.
Sourcepub const fn set_halt(&mut self, val: AhbclkdivHalt)
pub const fn set_halt(&mut self, val: AhbclkdivHalt)
Halts the divider counter.
Sourcepub const fn reqflag(&self) -> AhbclkdivReqflag
pub const fn reqflag(&self) -> AhbclkdivReqflag
Divider status flag.
Sourcepub const fn set_reqflag(&mut self, val: AhbclkdivReqflag)
pub const fn set_reqflag(&mut self, val: AhbclkdivReqflag)
Divider status flag.
Trait Implementations§
impl Copy for Ahbclkdiv
impl Eq for Ahbclkdiv
impl StructuralPartialEq for Ahbclkdiv
Auto Trait Implementations§
impl Freeze for Ahbclkdiv
impl RefUnwindSafe for Ahbclkdiv
impl Send for Ahbclkdiv
impl Sync for Ahbclkdiv
impl Unpin for Ahbclkdiv
impl UnwindSafe for Ahbclkdiv
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