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