#[repr(transparent)]pub struct Perr0(pub u32);
Expand description
Configuration of peripherals in mpu regions.
Tuple Fields§
§0: u32
Implementations§
Source§impl Perr0
impl Perr0
Sourcepub const fn power_clock(&self) -> PowerClock
pub const fn power_clock(&self) -> PowerClock
POWER_CLOCK region configuration.
Sourcepub fn set_power_clock(&mut self, val: PowerClock)
pub fn set_power_clock(&mut self, val: PowerClock)
POWER_CLOCK region configuration.
Sourcepub fn set_spi0_twi0(&mut self, val: Spi0Twi0)
pub fn set_spi0_twi0(&mut self, val: Spi0Twi0)
SPI0 and TWI0 region configuration.
Sourcepub fn set_spi1_twi1(&mut self, val: Spi1Twi1)
pub fn set_spi1_twi1(&mut self, val: Spi1Twi1)
SPI1 and TWI1 region configuration.
Sourcepub fn set_gpiote(&mut self, val: Gpiote)
pub fn set_gpiote(&mut self, val: Gpiote)
GPIOTE region configuration.
Sourcepub fn set_timer0(&mut self, val: Timer0)
pub fn set_timer0(&mut self, val: Timer0)
TIMER0 region configuration.
Sourcepub fn set_timer1(&mut self, val: Timer1)
pub fn set_timer1(&mut self, val: Timer1)
TIMER1 region configuration.
Sourcepub fn set_timer2(&mut self, val: Timer2)
pub fn set_timer2(&mut self, val: Timer2)
TIMER2 region configuration.
Sourcepub fn set_ccm_aar(&mut self, val: CcmAar)
pub fn set_ccm_aar(&mut self, val: CcmAar)
CCM and AAR region configuration.
Sourcepub fn set_lpcomp(&mut self, val: Lpcomp)
pub fn set_lpcomp(&mut self, val: Lpcomp)
LPCOMP region configuration.
Trait Implementations§
impl Copy for Perr0
impl Eq for Perr0
impl StructuralPartialEq for Perr0
Auto Trait Implementations§
impl Freeze for Perr0
impl RefUnwindSafe for Perr0
impl Send for Perr0
impl Sync for Perr0
impl Unpin for Perr0
impl UnwindSafe for Perr0
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)