pub struct Ppb { /* private fields */ }
Expand description
Cortex-M4 Private Peripheral Block
Implementations§
source§impl Ppb
impl Ppb
sourcepub const PTR: *const RegisterBlock = {0xe000e000 as *const ppb::RegisterBlock}
pub const PTR: *const RegisterBlock = {0xe000e000 as *const ppb::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
sourcepub unsafe fn steal() -> Self
pub unsafe fn steal() -> Self
Steal an instance of this peripheral
§Safety
Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.
Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.
Methods from Deref<Target = RegisterBlock>§
sourcepub fn syst_calib(&self) -> &SystCalib
pub fn syst_calib(&self) -> &SystCalib
0x1c - SysTick Calibration Value Register r
sourcepub fn nvic_iser0(&self) -> &NvicIser0
pub fn nvic_iser0(&self) -> &NvicIser0
0x100 - Interrupt Set-enable Register 0
sourcepub fn nvic_iser1(&self) -> &NvicIser1
pub fn nvic_iser1(&self) -> &NvicIser1
0x104 - Interrupt Set-enable Register 1
sourcepub fn nvic_iser2(&self) -> &NvicIser2
pub fn nvic_iser2(&self) -> &NvicIser2
0x108 - Interrupt Set-enable Register 2
sourcepub fn nvic_iser3(&self) -> &NvicIser3
pub fn nvic_iser3(&self) -> &NvicIser3
0x10c - Interrupt Set-enable Register 3
sourcepub fn nvic_icer0(&self) -> &NvicIcer0
pub fn nvic_icer0(&self) -> &NvicIcer0
0x180 - Interrupt Clear-enable Register 0
sourcepub fn nvic_icer1(&self) -> &NvicIcer1
pub fn nvic_icer1(&self) -> &NvicIcer1
0x184 - Interrupt Clear-enable Register 1
sourcepub fn nvic_icer2(&self) -> &NvicIcer2
pub fn nvic_icer2(&self) -> &NvicIcer2
0x188 - Interrupt Clear-enable Register 2
sourcepub fn nvic_icer3(&self) -> &NvicIcer3
pub fn nvic_icer3(&self) -> &NvicIcer3
0x18c - Interrupt Clear-enable Register 3
sourcepub fn nvic_ispr0(&self) -> &NvicIspr0
pub fn nvic_ispr0(&self) -> &NvicIspr0
0x200 - Interrupt Set-pending Register 0
sourcepub fn nvic_ispr1(&self) -> &NvicIspr1
pub fn nvic_ispr1(&self) -> &NvicIspr1
0x204 - Interrupt Set-pending Register 1
sourcepub fn nvic_ispr2(&self) -> &NvicIspr2
pub fn nvic_ispr2(&self) -> &NvicIspr2
0x208 - Interrupt Set-pending Register 2
sourcepub fn nvic_ispr3(&self) -> &NvicIspr3
pub fn nvic_ispr3(&self) -> &NvicIspr3
0x20c - Interrupt Set-pending Register 3
sourcepub fn nvic_icpr0(&self) -> &NvicIcpr0
pub fn nvic_icpr0(&self) -> &NvicIcpr0
0x280 - Interrupt Clear-pending Register 0
sourcepub fn nvic_icpr1(&self) -> &NvicIcpr1
pub fn nvic_icpr1(&self) -> &NvicIcpr1
0x284 - Interrupt Clear-pending Register 1
sourcepub fn nvic_icpr2(&self) -> &NvicIcpr2
pub fn nvic_icpr2(&self) -> &NvicIcpr2
0x288 - Interrupt Clear-pending Register 2
sourcepub fn nvic_icpr3(&self) -> &NvicIcpr3
pub fn nvic_icpr3(&self) -> &NvicIcpr3
0x28c - Interrupt Clear-pending Register 3
sourcepub fn nvic_iabr0(&self) -> &NvicIabr0
pub fn nvic_iabr0(&self) -> &NvicIabr0
0x300 - Interrupt Active Bit Register 0
sourcepub fn nvic_iabr1(&self) -> &NvicIabr1
pub fn nvic_iabr1(&self) -> &NvicIabr1
0x304 - Interrupt Active Bit Register 1
sourcepub fn nvic_iabr2(&self) -> &NvicIabr2
pub fn nvic_iabr2(&self) -> &NvicIabr2
0x308 - Interrupt Active Bit Register 2
sourcepub fn nvic_iabr3(&self) -> &NvicIabr3
pub fn nvic_iabr3(&self) -> &NvicIabr3
0x30c - Interrupt Active Bit Register 3
sourcepub fn nvic_ipr10(&self) -> &NvicIpr10
pub fn nvic_ipr10(&self) -> &NvicIpr10
0x428 - Interrupt Priority Register 10
sourcepub fn nvic_ipr11(&self) -> &NvicIpr11
pub fn nvic_ipr11(&self) -> &NvicIpr11
0x42c - Interrupt Priority Register 11
sourcepub fn nvic_ipr12(&self) -> &NvicIpr12
pub fn nvic_ipr12(&self) -> &NvicIpr12
0x430 - Interrupt Priority Register 12
sourcepub fn nvic_ipr13(&self) -> &NvicIpr13
pub fn nvic_ipr13(&self) -> &NvicIpr13
0x434 - Interrupt Priority Register 13
sourcepub fn nvic_ipr14(&self) -> &NvicIpr14
pub fn nvic_ipr14(&self) -> &NvicIpr14
0x438 - Interrupt Priority Register 14
sourcepub fn nvic_ipr15(&self) -> &NvicIpr15
pub fn nvic_ipr15(&self) -> &NvicIpr15
0x43c - Interrupt Priority Register 15
sourcepub fn nvic_ipr16(&self) -> &NvicIpr16
pub fn nvic_ipr16(&self) -> &NvicIpr16
0x440 - Interrupt Priority Register 16
sourcepub fn nvic_ipr17(&self) -> &NvicIpr17
pub fn nvic_ipr17(&self) -> &NvicIpr17
0x444 - Interrupt Priority Register 17
sourcepub fn nvic_ipr18(&self) -> &NvicIpr18
pub fn nvic_ipr18(&self) -> &NvicIpr18
0x448 - Interrupt Priority Register 18
sourcepub fn nvic_ipr19(&self) -> &NvicIpr19
pub fn nvic_ipr19(&self) -> &NvicIpr19
0x44c - Interrupt Priority Register 19
sourcepub fn nvic_ipr20(&self) -> &NvicIpr20
pub fn nvic_ipr20(&self) -> &NvicIpr20
0x450 - Interrupt Priority Register 20
sourcepub fn nvic_ipr21(&self) -> &NvicIpr21
pub fn nvic_ipr21(&self) -> &NvicIpr21
0x454 - Interrupt Priority Register 21
sourcepub fn nvic_ipr22(&self) -> &NvicIpr22
pub fn nvic_ipr22(&self) -> &NvicIpr22
0x458 - Interrupt Priority Register 22
sourcepub fn nvic_ipr23(&self) -> &NvicIpr23
pub fn nvic_ipr23(&self) -> &NvicIpr23
0x45c - Interrupt Priority Register 23
sourcepub fn nvic_ipr24(&self) -> &NvicIpr24
pub fn nvic_ipr24(&self) -> &NvicIpr24
0x460 - Interrupt Priority Register 24
sourcepub fn nvic_ipr25(&self) -> &NvicIpr25
pub fn nvic_ipr25(&self) -> &NvicIpr25
0x464 - Interrupt Priority Register 25
sourcepub fn nvic_ipr26(&self) -> &NvicIpr26
pub fn nvic_ipr26(&self) -> &NvicIpr26
0x468 - Interrupt Priority Register 26
sourcepub fn nvic_ipr27(&self) -> &NvicIpr27
pub fn nvic_ipr27(&self) -> &NvicIpr27
0x46c - Interrupt Priority Register 27
sourcepub fn mpu_rbar_a1(&self) -> &MpuRbarA1
pub fn mpu_rbar_a1(&self) -> &MpuRbarA1
0xda4 - MPU Region Base Address Register A1
sourcepub fn mpu_rasr_a1(&self) -> &MpuRasrA1
pub fn mpu_rasr_a1(&self) -> &MpuRasrA1
0xda8 - MPU Region Attribute and Size Register A1
sourcepub fn mpu_rbar_a2(&self) -> &MpuRbarA2
pub fn mpu_rbar_a2(&self) -> &MpuRbarA2
0xdac - MPU Region Base Address Register A2
sourcepub fn mpu_rasr_a2(&self) -> &MpuRasrA2
pub fn mpu_rasr_a2(&self) -> &MpuRasrA2
0xdb0 - MPU Region Attribute and Size Register A2
sourcepub fn mpu_rbar_a3(&self) -> &MpuRbarA3
pub fn mpu_rbar_a3(&self) -> &MpuRbarA3
0xdb4 - MPU Region Base Address Register A3
sourcepub fn mpu_rasr_a3(&self) -> &MpuRasrA3
pub fn mpu_rasr_a3(&self) -> &MpuRasrA3
0xdb8 - MPU Region Attribute and Size Register A3