#[repr(transparent)]pub struct MrccGlbPr2(pub u32);Expand description
Peripheral Enable Configuration 2. Reset on POR only.
Tuple Fields§
§0: u32Implementations§
Source§impl MrccGlbPr2
impl MrccGlbPr2
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§
Source§impl Clone for MrccGlbPr2
impl Clone for MrccGlbPr2
Source§fn clone(&self) -> MrccGlbPr2
fn clone(&self) -> MrccGlbPr2
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 MrccGlbPr2
impl Debug for MrccGlbPr2
Source§impl Default for MrccGlbPr2
impl Default for MrccGlbPr2
Source§fn default() -> MrccGlbPr2
fn default() -> MrccGlbPr2
Returns the “default value” for a type. Read more
Source§impl PartialEq for MrccGlbPr2
impl PartialEq for MrccGlbPr2
impl Copy for MrccGlbPr2
impl Eq for MrccGlbPr2
impl StructuralPartialEq for MrccGlbPr2
Auto Trait Implementations§
impl Freeze for MrccGlbPr2
impl RefUnwindSafe for MrccGlbPr2
impl Send for MrccGlbPr2
impl Sync for MrccGlbPr2
impl Unpin for MrccGlbPr2
impl UnwindSafe for MrccGlbPr2
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