#[repr(transparent)]pub struct GlbPr2(pub u32);Expand description
Peripheral Enable Configuration 2. Reset on POR only.
Tuple Fields§
§0: u32Implementations§
Source§impl GlbPr2
impl GlbPr2
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 GlbPr2
impl Eq for GlbPr2
impl StructuralPartialEq for GlbPr2
Auto Trait Implementations§
impl Freeze for GlbPr2
impl RefUnwindSafe for GlbPr2
impl Send for GlbPr2
impl Sync for GlbPr2
impl Unpin for GlbPr2
impl UnwindSafe for GlbPr2
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