#[repr(transparent)]pub struct Ahbclkctrl1(pub u32);Expand description
AHB Clock control 1
Tuple Fields§
§0: u32Implementations§
Source§impl Ahbclkctrl1
impl Ahbclkctrl1
Sourcepub const fn set_ostimer(&mut self, val: bool)
pub const fn set_ostimer(&mut self, val: bool)
Enables the clock for the OS Event Timer.
Sourcepub const fn set_timer2(&mut self, val: bool)
pub const fn set_timer2(&mut self, val: bool)
Enables the clock for the Timer 2.
Sourcepub const fn set_usb0_dev(&mut self, val: bool)
pub const fn set_usb0_dev(&mut self, val: bool)
Enables the clock for the USB0 DEV.
Sourcepub const fn set_timer0(&mut self, val: bool)
pub const fn set_timer0(&mut self, val: bool)
Enables the clock for the Timer 0.
Sourcepub const fn set_timer1(&mut self, val: bool)
pub const fn set_timer1(&mut self, val: bool)
Enables the clock for the Timer 1.
Trait Implementations§
Source§impl Clone for Ahbclkctrl1
impl Clone for Ahbclkctrl1
Source§fn clone(&self) -> Ahbclkctrl1
fn clone(&self) -> Ahbclkctrl1
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 Ahbclkctrl1
impl Debug for Ahbclkctrl1
Source§impl Default for Ahbclkctrl1
impl Default for Ahbclkctrl1
Source§fn default() -> Ahbclkctrl1
fn default() -> Ahbclkctrl1
Returns the “default value” for a type. Read more
Source§impl PartialEq for Ahbclkctrl1
impl PartialEq for Ahbclkctrl1
impl Copy for Ahbclkctrl1
impl Eq for Ahbclkctrl1
impl StructuralPartialEq for Ahbclkctrl1
Auto Trait Implementations§
impl Freeze for Ahbclkctrl1
impl RefUnwindSafe for Ahbclkctrl1
impl Send for Ahbclkctrl1
impl Sync for Ahbclkctrl1
impl Unpin for Ahbclkctrl1
impl UnwindSafe for Ahbclkctrl1
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