#[repr(transparent)]pub struct GlbCc2(pub u32);Expand description
AHB Clock Control 2.
Tuple Fields§
§0: u32Implementations§
Source§impl GlbCc2
impl GlbCc2
Sourcepub const fn set_flexcan0(&mut self, val: bool)
pub const fn set_flexcan0(&mut self, val: bool)
FLEXCAN0.
Sourcepub const fn set_flexcan1(&mut self, val: bool)
pub const fn set_flexcan1(&mut self, val: bool)
FLEXCAN1.
Sourcepub const fn set_flexspi0(&mut self, val: bool)
pub const fn set_flexspi0(&mut self, val: bool)
FLEXSPI0.
Sourcepub const fn spi0_filter(&self) -> bool
pub const fn spi0_filter(&self) -> bool
SPI0_FILTER.
Sourcepub const fn set_spi0_filter(&mut self, val: bool)
pub const fn set_spi0_filter(&mut self, val: bool)
SPI0_FILTER.
Sourcepub const fn set_usb1_phy(&mut self, val: bool)
pub const fn set_usb1_phy(&mut self, val: bool)
USB1_PHY.
Trait Implementations§
impl Copy for GlbCc2
impl Eq for GlbCc2
impl StructuralPartialEq for GlbCc2
Auto Trait Implementations§
impl Freeze for GlbCc2
impl RefUnwindSafe for GlbCc2
impl Send for GlbCc2
impl Sync for GlbCc2
impl Unpin for GlbCc2
impl UnwindSafe for GlbCc2
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