#[repr(transparent)]pub struct GlbAcc2(pub u32);Expand description
Control Automatic Clock Gating 2.
Tuple Fields§
§0: u32Implementations§
Source§impl GlbAcc2
impl GlbAcc2
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 GlbAcc2
impl Eq for GlbAcc2
impl StructuralPartialEq for GlbAcc2
Auto Trait Implementations§
impl Freeze for GlbAcc2
impl RefUnwindSafe for GlbAcc2
impl Send for GlbAcc2
impl Sync for GlbAcc2
impl Unpin for GlbAcc2
impl UnwindSafe for GlbAcc2
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