#[repr(transparent)]pub struct Presetctrl0N2(pub u32);Expand description
Peripheral Reset Control 0.
Tuple Fields§
§0: u32Implementations§
Source§impl Presetctrl0N2
impl Presetctrl0N2
Sourcepub const fn fmu_rst(&self) -> bool
pub const fn fmu_rst(&self) -> bool
Flash management unit reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn set_fmu_rst(&mut self, val: bool)
pub const fn set_fmu_rst(&mut self, val: bool)
Flash management unit reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn mux_rst(&self) -> bool
pub const fn mux_rst(&self) -> bool
INPUTMUX reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn set_mux_rst(&mut self, val: bool)
pub const fn set_mux_rst(&mut self, val: bool)
INPUTMUX reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn port0_rst(&self) -> bool
pub const fn port0_rst(&self) -> bool
PORT0 controller reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn set_port0_rst(&mut self, val: bool)
pub const fn set_port0_rst(&mut self, val: bool)
PORT0 controller reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn port1_rst(&self) -> bool
pub const fn port1_rst(&self) -> bool
PORT1 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn set_port1_rst(&mut self, val: bool)
pub const fn set_port1_rst(&mut self, val: bool)
PORT1 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn port2_rst(&self) -> bool
pub const fn port2_rst(&self) -> bool
PORT2 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn set_port2_rst(&mut self, val: bool)
pub const fn set_port2_rst(&mut self, val: bool)
PORT2 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn port3_rst(&self) -> bool
pub const fn port3_rst(&self) -> bool
PORT3 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn set_port3_rst(&mut self, val: bool)
pub const fn set_port3_rst(&mut self, val: bool)
PORT3 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn port4_rst(&self) -> bool
pub const fn port4_rst(&self) -> bool
PORT4 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn set_port4_rst(&mut self, val: bool)
pub const fn set_port4_rst(&mut self, val: bool)
PORT4 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn gpio0_rst(&self) -> bool
pub const fn gpio0_rst(&self) -> bool
GPIO0 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn set_gpio0_rst(&mut self, val: bool)
pub const fn set_gpio0_rst(&mut self, val: bool)
GPIO0 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn gpio1_rst(&self) -> bool
pub const fn gpio1_rst(&self) -> bool
GPIO1 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn set_gpio1_rst(&mut self, val: bool)
pub const fn set_gpio1_rst(&mut self, val: bool)
GPIO1 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn gpio2_rst(&self) -> bool
pub const fn gpio2_rst(&self) -> bool
GPIO2 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn set_gpio2_rst(&mut self, val: bool)
pub const fn set_gpio2_rst(&mut self, val: bool)
GPIO2 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn gpio3_rst(&self) -> bool
pub const fn gpio3_rst(&self) -> bool
GPIO3 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn set_gpio3_rst(&mut self, val: bool)
pub const fn set_gpio3_rst(&mut self, val: bool)
GPIO3 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn gpio4_rst(&self) -> bool
pub const fn gpio4_rst(&self) -> bool
GPIO4 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn set_gpio4_rst(&mut self, val: bool)
pub const fn set_gpio4_rst(&mut self, val: bool)
GPIO4 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn pint_rst(&self) -> bool
pub const fn pint_rst(&self) -> bool
PINT reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn set_pint_rst(&mut self, val: bool)
pub const fn set_pint_rst(&mut self, val: bool)
PINT reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn dma0_rst(&self) -> bool
pub const fn dma0_rst(&self) -> bool
DMA0 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn set_dma0_rst(&mut self, val: bool)
pub const fn set_dma0_rst(&mut self, val: bool)
DMA0 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn crc_rst(&self) -> bool
pub const fn crc_rst(&self) -> bool
CRC reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Sourcepub const fn set_crc_rst(&mut self, val: bool)
pub const fn set_crc_rst(&mut self, val: bool)
CRC reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.
Trait Implementations§
Source§impl Clone for Presetctrl0N2
impl Clone for Presetctrl0N2
Source§fn clone(&self) -> Presetctrl0N2
fn clone(&self) -> Presetctrl0N2
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more