#[repr(transparent)]pub struct Syscpuahbclkdiv(pub u32);Expand description
system cpu AHB clock divider
Tuple Fields§
§0: u32Implementations§
Source§impl Syscpuahbclkdiv
impl Syscpuahbclkdiv
Sourcepub const fn div(&self) -> u8
pub const fn div(&self) -> u8
Clock Divider Value Selection. . . 0: Divide by 1. … 255: Divide by 256.
Sourcepub const fn set_div(&mut self, val: u8)
pub const fn set_div(&mut self, val: u8)
Clock Divider Value Selection. . . 0: Divide by 1. … 255: Divide by 256.
Sourcepub const fn reqflag(&self) -> bool
pub const fn reqflag(&self) -> bool
Divider status flag. Set when a change is made to the divider value, cleared when the change is complete.
Sourcepub const fn set_reqflag(&mut self, val: bool)
pub const fn set_reqflag(&mut self, val: bool)
Divider status flag. Set when a change is made to the divider value, cleared when the change is complete.
Trait Implementations§
Source§impl Clone for Syscpuahbclkdiv
impl Clone for Syscpuahbclkdiv
Source§fn clone(&self) -> Syscpuahbclkdiv
fn clone(&self) -> Syscpuahbclkdiv
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 Syscpuahbclkdiv
impl Debug for Syscpuahbclkdiv
Source§impl Default for Syscpuahbclkdiv
impl Default for Syscpuahbclkdiv
Source§fn default() -> Syscpuahbclkdiv
fn default() -> Syscpuahbclkdiv
Returns the “default value” for a type. Read more
Source§impl PartialEq for Syscpuahbclkdiv
impl PartialEq for Syscpuahbclkdiv
impl Copy for Syscpuahbclkdiv
impl Eq for Syscpuahbclkdiv
impl StructuralPartialEq for Syscpuahbclkdiv
Auto Trait Implementations§
impl Freeze for Syscpuahbclkdiv
impl RefUnwindSafe for Syscpuahbclkdiv
impl Send for Syscpuahbclkdiv
impl Sync for Syscpuahbclkdiv
impl Unpin for Syscpuahbclkdiv
impl UnwindSafe for Syscpuahbclkdiv
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