#[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_evsim0(&mut self, val: bool)
pub const fn set_evsim0(&mut self, val: bool)
Enables the clock for EVSIM0
Sourcepub const fn set_evsim1(&mut self, val: bool)
pub const fn set_evsim1(&mut self, val: bool)
Enables the clock for EVSIM1
Sourcepub const fn set_micfil(&mut self, val: bool)
pub const fn set_micfil(&mut self, val: bool)
Enables the clock for MICFIL
Sourcepub const fn set_timer2(&mut self, val: bool)
pub const fn set_timer2(&mut self, val: bool)
Enables the clock for CTIMER2
Sourcepub const fn usb0_fs_dcd(&self) -> bool
pub const fn usb0_fs_dcd(&self) -> bool
Enables the clock for USB-FS DCD
Sourcepub const fn set_usb0_fs_dcd(&mut self, val: bool)
pub const fn set_usb0_fs_dcd(&mut self, val: bool)
Enables the clock for USB-FS DCD
Sourcepub const fn set_usb0_fs(&mut self, val: bool)
pub const fn set_usb0_fs(&mut self, val: bool)
Enables the clock for USB-FS
Sourcepub const fn set_timer0(&mut self, val: bool)
pub const fn set_timer0(&mut self, val: bool)
Enables the clock for CTIMER0
Sourcepub const fn set_timer1(&mut self, val: bool)
pub const fn set_timer1(&mut self, val: bool)
Enables the clock for CTIMER1
Sourcepub const fn set_pkc_ram(&mut self, val: bool)
pub const fn set_pkc_ram(&mut self, val: bool)
Enables the clock for PKC RAM
Sourcepub const fn set_smart_dma(&mut self, val: bool)
pub const fn set_smart_dma(&mut self, val: bool)
Enables the clock for SmartDMA
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