Compatibility layer for different CPU architectures and families. More...
Compatibility layer for different CPU architectures and families.
Definition in file compat_layer.h.
Include dependency graph for compat_layer.h:Go to the source code of this file.
| uint32_t | _isr_vectors |
| Defined in the linker script. | |
| static void | rp_irq_enable (uint32_t irq_no) |
| Enable the given IRQ. | |
| static void | rp_irq_disable (uint32_t irq_no) |
| Disable the given IRQ. | |
| static void | rp_end_isr (void) |
| Called upon the end of an ISR. | |
| static void | rp_arch_init (void) |
| Initialize the architecture-specific components. | |
| static void | rp_block_core (void) |
| Wait For Interrupt abstraction. | |
| static void | rp_unblock_core (void) |
| Set Event abstraction. | |
| static uint32_t * | rp_get_vector_poiner (void) |
| Get a pointer to the CPU specific interrupt vector table. | |
Helper functions with the names used by the RP2040 port, for code | |
shared by both CPUs | |
| static void | io_reg_atomic_set (volatile uint32_t *reg, uint32_t mask) |
Atomically set the bits of mask in the register reg. | |
| static void | io_reg_atomic_clear (volatile uint32_t *reg, uint32_t mask) |
Atomically clear the bits of mask in the register reg. | |
| static void | periph_reset (uint32_t components) |
Put the hardware components in components into reset. | |
| static void | periph_reset_done (uint32_t components) |
Take the hardware components in components out of reset and wait until the reset is done. | |
|
inlinestatic |
Atomically clear the bits of mask in the register reg.
Definition at line 139 of file compat_layer.h.
|
inlinestatic |
Atomically set the bits of mask in the register reg.
Definition at line 131 of file compat_layer.h.
|
inlinestatic |
Put the hardware components in components into reset.
Definition at line 147 of file compat_layer.h.
|
inlinestatic |
Take the hardware components in components out of reset and wait until the reset is done.
Definition at line 156 of file compat_layer.h.
|
inlinestatic |
Initialize the architecture-specific components.
Definition at line 77 of file compat_layer.h.
|
inlinestatic |
Wait For Interrupt abstraction.
Definition at line 89 of file compat_layer.h.
|
inlinestatic |
Called upon the end of an ISR.
Definition at line 67 of file compat_layer.h.
|
inlinestatic |
Get a pointer to the CPU specific interrupt vector table.
Definition at line 114 of file compat_layer.h.
|
inlinestatic |
Disable the given IRQ.
| [in] | irq_no | IRQ number to disable |
Definition at line 55 of file compat_layer.h.
|
inlinestatic |
Enable the given IRQ.
| [in] | irq_no | IRQ number to enable |
Definition at line 42 of file compat_layer.h.
|
inlinestatic |
Set Event abstraction.
Definition at line 101 of file compat_layer.h.