23#ifdef RP2350_USE_RISCV
26# define __h3_block() __asm__("slt x0, x0, x0")
28# define __h3_unblock() __asm__("slt x0, x0, x1")
44#ifdef RP2350_USE_RISCV
47 NVIC_EnableIRQ(irq_no);
57#ifdef RP2350_USE_RISCV
60 NVIC_DisableIRQ(irq_no);
79#ifdef RP2350_USE_RISCV
91#ifdef RP2350_USE_RISCV
103#ifdef RP2350_USE_RISCV
116#ifdef RP2350_USE_RISCV
static void rp_arch_init(void)
Initialize the architecture-specific components.
static void rp_end_isr(void)
Called upon the end of an ISR.
static void io_reg_atomic_clear(volatile uint32_t *reg, uint32_t mask)
Atomically clear the bits of mask in the register reg.
uint32_t _isr_vectors
Defined in the linker script.
static void rp_block_core(void)
Wait For Interrupt abstraction.
static void rp_irq_disable(uint32_t irq_no)
Disable the given IRQ.
static uint32_t * rp_get_vector_poiner(void)
Get a pointer to the CPU specific interrupt vector table.
static void rp_irq_enable(uint32_t irq_no)
Enable the given IRQ.
static void rp_unblock_core(void)
Set Event abstraction.
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 periph_reset_done(uint32_t components)
Take the hardware components in components out of reset and wait until the reset is done.
static void periph_reset(uint32_t components)
Put the hardware components in components into reset.
Peripheral CPU definitions for the RP2350.
static void cortexm_isr_end(void)
Trigger a conditional context scheduler run / context switch.
void cortexm_init(void)
Initialize Cortex-M specific core parts of the CPU.
static void reset_component(uint32_t reset_value, uint32_t reset_done_value)
Reset a component by clearing its reset bits and waiting for the reset to complete.
static void atomic_clear(volatile uint32_t *reg, uint32_t val)
Clear bits in a register atomically.
static void atomic_set(volatile uint32_t *reg, uint32_t val)
Set bits in a register atomically.
void riscv_init(void)
Initialize rv32i specific core parts of the CPU.
xh3irq.h interrupt controller support
void xh3irq_enable_irq(uint32_t irq_no)
Enable the given IRQ number.
void xh3irq_disable_irq(uint32_t irq_no)
Disable the given IRQ number.
const void * vector_cpu[CPU_IRQ_NUMOF]
CPU specific interrupt vector table.