#[repr(transparent)]pub struct Prstctl1(pub u32);Expand description
peripheral reset control register 1
Tuple Fields§
§0: u32Implementations§
Source§impl Prstctl1
impl Prstctl1
Sourcepub const fn hsgpio0_rst(&self) -> Hsgpio0Rst
pub const fn hsgpio0_rst(&self) -> Hsgpio0Rst
HSGPIO0 reset control
Sourcepub const fn set_hsgpio0_rst(&mut self, val: Hsgpio0Rst)
pub const fn set_hsgpio0_rst(&mut self, val: Hsgpio0Rst)
HSGPIO0 reset control
Sourcepub const fn hsgpio1_rst(&self) -> Hsgpio1Rst
pub const fn hsgpio1_rst(&self) -> Hsgpio1Rst
HSGPIO1 reset control
Sourcepub const fn set_hsgpio1_rst(&mut self, val: Hsgpio1Rst)
pub const fn set_hsgpio1_rst(&mut self, val: Hsgpio1Rst)
HSGPIO1 reset control
Sourcepub const fn hsgpio2_rst(&self) -> Hsgpio2Rst
pub const fn hsgpio2_rst(&self) -> Hsgpio2Rst
HSGPIO2 reset control
Sourcepub const fn set_hsgpio2_rst(&mut self, val: Hsgpio2Rst)
pub const fn set_hsgpio2_rst(&mut self, val: Hsgpio2Rst)
HSGPIO2 reset control
Sourcepub const fn hsgpio3_rst(&self) -> Hsgpio3Rst
pub const fn hsgpio3_rst(&self) -> Hsgpio3Rst
HSGPIO3 reset control
Sourcepub const fn set_hsgpio3_rst(&mut self, val: Hsgpio3Rst)
pub const fn set_hsgpio3_rst(&mut self, val: Hsgpio3Rst)
HSGPIO3 reset control
Sourcepub const fn hsgpio4_rst(&self) -> Hsgpio4Rst
pub const fn hsgpio4_rst(&self) -> Hsgpio4Rst
HSGPIO4 reset control
Sourcepub const fn set_hsgpio4_rst(&mut self, val: Hsgpio4Rst)
pub const fn set_hsgpio4_rst(&mut self, val: Hsgpio4Rst)
HSGPIO4 reset control
Sourcepub const fn hsgpio5_rst(&self) -> Hsgpio5Rst
pub const fn hsgpio5_rst(&self) -> Hsgpio5Rst
HSGPIO5 reset control
Sourcepub const fn set_hsgpio5_rst(&mut self, val: Hsgpio5Rst)
pub const fn set_hsgpio5_rst(&mut self, val: Hsgpio5Rst)
HSGPIO5 reset control
Sourcepub const fn hsgpio6_rst(&self) -> Hsgpio6Rst
pub const fn hsgpio6_rst(&self) -> Hsgpio6Rst
HSGPIO6 reset control
Sourcepub const fn set_hsgpio6_rst(&mut self, val: Hsgpio6Rst)
pub const fn set_hsgpio6_rst(&mut self, val: Hsgpio6Rst)
HSGPIO6 reset control
Sourcepub const fn hsgpio7_rst(&self) -> Hsgpio7Rst
pub const fn hsgpio7_rst(&self) -> Hsgpio7Rst
HSGPIO7 reset control
Sourcepub const fn set_hsgpio7_rst(&mut self, val: Hsgpio7Rst)
pub const fn set_hsgpio7_rst(&mut self, val: Hsgpio7Rst)
HSGPIO7 reset control
Sourcepub const fn set_crc_rst(&mut self, val: CrcRst)
pub const fn set_crc_rst(&mut self, val: CrcRst)
CRC reset control
Sourcepub const fn set_dmac0_rst(&mut self, val: Dmac0Rst)
pub const fn set_dmac0_rst(&mut self, val: Dmac0Rst)
DMAC0 reset control
Sourcepub const fn set_dmac1_rst(&mut self, val: Dmac1Rst)
pub const fn set_dmac1_rst(&mut self, val: Dmac1Rst)
DMAC1 reset control
Sourcepub const fn set_mu_rst(&mut self, val: MuRst)
pub const fn set_mu_rst(&mut self, val: MuRst)
MU reset control
Sourcepub const fn set_sema_rst(&mut self, val: SemaRst)
pub const fn set_sema_rst(&mut self, val: SemaRst)
SEMA reset control
Sourcepub const fn freqme_rst(&self) -> FreqmeRst
pub const fn freqme_rst(&self) -> FreqmeRst
FREQME reset control
Sourcepub const fn set_freqme_rst(&mut self, val: FreqmeRst)
pub const fn set_freqme_rst(&mut self, val: FreqmeRst)
FREQME reset control
Trait Implementations§
impl Copy for Prstctl1
impl Eq for Prstctl1
impl StructuralPartialEq for Prstctl1
Auto Trait Implementations§
impl Freeze for Prstctl1
impl RefUnwindSafe for Prstctl1
impl Send for Prstctl1
impl Sync for Prstctl1
impl Unpin for Prstctl1
impl UnwindSafe for Prstctl1
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