Loading...
Searching...
No Matches
compat_layer.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2026 Technische Universität Hamburg
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#include <stdint.h>
19
20#include "cpu.h"
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
30static inline void rp_irq_enable(uint32_t irq_no)
31{
32 NVIC_EnableIRQ(irq_no);
33}
34
38static inline void rp_end_isr(void)
39{
41}
42
43#ifdef __cplusplus
44}
45#endif
46
static void rp_end_isr(void)
Called upon the end of an ISR.
static void rp_irq_enable(uint32_t irq_no)
Enable the given IRQ.
static void cortexm_isr_end(void)
Trigger a conditional context scheduler run / context switch.
Definition cpu.h:178