#[repr(transparent)]pub struct Ahbclkctrl2(pub u32);Expand description
AHB Clock Control 2
Tuple Fields§
§0: u32Implementations§
Source§impl Ahbclkctrl2
impl Ahbclkctrl2
Sourcepub const fn set_u_sdhc(&mut self, val: bool)
pub const fn set_u_sdhc(&mut self, val: bool)
Enables the clock for uSDHC
Sourcepub const fn set_flexio(&mut self, val: bool)
pub const fn set_flexio(&mut self, val: bool)
Enables the clock for Flexio
Sourcepub const fn set_freqme(&mut self, val: bool)
pub const fn set_freqme(&mut self, val: bool)
Enables the clock for the Frequency meter
Sourcepub const fn set_flexcan0(&mut self, val: bool)
pub const fn set_flexcan0(&mut self, val: bool)
Enables the clock for FLEXCAN0
Sourcepub const fn set_flexcan1(&mut self, val: bool)
pub const fn set_flexcan1(&mut self, val: bool)
Enables the clock for FLEXCAN1
Sourcepub const fn set_usb_hs(&mut self, val: bool)
pub const fn set_usb_hs(&mut self, val: bool)
Enables the clock for USB HS
Sourcepub const fn usb_hs_phy(&self) -> bool
pub const fn usb_hs_phy(&self) -> bool
Enables the clock for USB HS PHY
Sourcepub const fn set_usb_hs_phy(&mut self, val: bool)
pub const fn set_usb_hs_phy(&mut self, val: bool)
Enables the clock for USB HS PHY
Sourcepub const fn set_plu_lut(&mut self, val: bool)
pub const fn set_plu_lut(&mut self, val: bool)
Enables the clock for PLU_LUT
Sourcepub const fn set_timer3(&mut self, val: bool)
pub const fn set_timer3(&mut self, val: bool)
Enables the clock for CTIMER3
Sourcepub const fn set_timer4(&mut self, val: bool)
pub const fn set_timer4(&mut self, val: bool)
Enables the clock for CTIMER4
Trait Implementations§
Source§impl Clone for Ahbclkctrl2
impl Clone for Ahbclkctrl2
Source§fn clone(&self) -> Ahbclkctrl2
fn clone(&self) -> Ahbclkctrl2
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 Ahbclkctrl2
impl Debug for Ahbclkctrl2
Source§impl Default for Ahbclkctrl2
impl Default for Ahbclkctrl2
Source§fn default() -> Ahbclkctrl2
fn default() -> Ahbclkctrl2
Returns the “default value” for a type. Read more
Source§impl PartialEq for Ahbclkctrl2
impl PartialEq for Ahbclkctrl2
impl Copy for Ahbclkctrl2
impl Eq for Ahbclkctrl2
impl StructuralPartialEq for Ahbclkctrl2
Auto Trait Implementations§
impl Freeze for Ahbclkctrl2
impl RefUnwindSafe for Ahbclkctrl2
impl Send for Ahbclkctrl2
impl Sync for Ahbclkctrl2
impl Unpin for Ahbclkctrl2
impl UnwindSafe for Ahbclkctrl2
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