#[repr(transparent)]pub struct Presetctrl0(pub u32);Expand description
Peripheral reset control 0
Tuple Fields§
§0: u32Implementations§
Source§impl Presetctrl0
impl Presetctrl0
Sourcepub const fn set_rom_rst(&mut self, val: RomRst)
pub const fn set_rom_rst(&mut self, val: RomRst)
ROM reset control.
Sourcepub const fn sram_ctrl1_rst(&self) -> SramCtrl1Rst
pub const fn sram_ctrl1_rst(&self) -> SramCtrl1Rst
SRAM Controller 1 reset control.
Sourcepub const fn set_sram_ctrl1_rst(&mut self, val: SramCtrl1Rst)
pub const fn set_sram_ctrl1_rst(&mut self, val: SramCtrl1Rst)
SRAM Controller 1 reset control.
Sourcepub const fn sram_ctrl2_rst(&self) -> SramCtrl2Rst
pub const fn sram_ctrl2_rst(&self) -> SramCtrl2Rst
SRAM Controller 2 reset control.
Sourcepub const fn set_sram_ctrl2_rst(&mut self, val: SramCtrl2Rst)
pub const fn set_sram_ctrl2_rst(&mut self, val: SramCtrl2Rst)
SRAM Controller 2 reset control.
Sourcepub const fn set_flash_rst(&mut self, val: FlashRst)
pub const fn set_flash_rst(&mut self, val: FlashRst)
Flash controller reset control.
Sourcepub const fn set_fmc_rst(&mut self, val: FmcRst)
pub const fn set_fmc_rst(&mut self, val: FmcRst)
FMC controller reset control.
Sourcepub const fn set_mux_rst(&mut self, val: MuxRst)
pub const fn set_mux_rst(&mut self, val: MuxRst)
Input Mux reset control.
Sourcepub const fn set_iocon_rst(&mut self, val: IoconRst)
pub const fn set_iocon_rst(&mut self, val: IoconRst)
I/O controller reset control.
Sourcepub const fn set_gpio0_rst(&mut self, val: Gpio0Rst)
pub const fn set_gpio0_rst(&mut self, val: Gpio0Rst)
GPIO0 reset control.
Sourcepub const fn set_gpio1_rst(&mut self, val: Gpio1Rst)
pub const fn set_gpio1_rst(&mut self, val: Gpio1Rst)
GPIO1 reset control.
Sourcepub const fn set_pint_rst(&mut self, val: PintRst)
pub const fn set_pint_rst(&mut self, val: PintRst)
Pin interrupt (PINT) reset control.
Sourcepub const fn set_gint_rst(&mut self, val: GintRst)
pub const fn set_gint_rst(&mut self, val: GintRst)
Group interrupt (GINT) reset control.
Sourcepub const fn set_dma0_rst(&mut self, val: Dma0Rst)
pub const fn set_dma0_rst(&mut self, val: Dma0Rst)
DMA0 reset control.
Sourcepub const fn crcgen_rst(&self) -> CrcgenRst
pub const fn crcgen_rst(&self) -> CrcgenRst
CRCGEN reset control.
Sourcepub const fn set_crcgen_rst(&mut self, val: CrcgenRst)
pub const fn set_crcgen_rst(&mut self, val: CrcgenRst)
CRCGEN reset control.
Sourcepub const fn set_wwdt_rst(&mut self, val: WwdtRst)
pub const fn set_wwdt_rst(&mut self, val: WwdtRst)
Watchdog Timer reset control.
Sourcepub const fn set_rtc_rst(&mut self, val: RtcRst)
pub const fn set_rtc_rst(&mut self, val: RtcRst)
Real Time Clock (RTC) reset control.
Sourcepub const fn mailbox_rst(&self) -> MailboxRst
pub const fn mailbox_rst(&self) -> MailboxRst
Inter CPU communication Mailbox reset control.
Sourcepub const fn set_mailbox_rst(&mut self, val: MailboxRst)
pub const fn set_mailbox_rst(&mut self, val: MailboxRst)
Inter CPU communication Mailbox reset control.
Sourcepub const fn set_adc_rst(&mut self, val: AdcRst)
pub const fn set_adc_rst(&mut self, val: AdcRst)
ADC reset control.
Trait Implementations§
Source§impl Clone for Presetctrl0
impl Clone for Presetctrl0
Source§fn clone(&self) -> Presetctrl0
fn clone(&self) -> Presetctrl0
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 Presetctrl0
impl Debug for Presetctrl0
Source§impl Default for Presetctrl0
impl Default for Presetctrl0
Source§fn default() -> Presetctrl0
fn default() -> Presetctrl0
Returns the “default value” for a type. Read more
Source§impl PartialEq for Presetctrl0
impl PartialEq for Presetctrl0
impl Copy for Presetctrl0
impl Eq for Presetctrl0
impl StructuralPartialEq for Presetctrl0
Auto Trait Implementations§
impl Freeze for Presetctrl0
impl RefUnwindSafe for Presetctrl0
impl Send for Presetctrl0
impl Sync for Presetctrl0
impl Unpin for Presetctrl0
impl UnwindSafe for Presetctrl0
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