Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
23
extern
"C"
{
24
#endif
25
30
static
inline
void
rp_irq_enable
(uint32_t irq_no)
31
{
32
NVIC_EnableIRQ(irq_no);
33
}
34
38
static
inline
void
rp_end_isr
(
void
)
39
{
40
cortexm_isr_end
();
41
}
42
43
#ifdef __cplusplus
44
}
45
#endif
46
rp_end_isr
static void rp_end_isr(void)
Called upon the end of an ISR.
Definition
compat_layer.h:67
rp_irq_enable
static void rp_irq_enable(uint32_t irq_no)
Enable the given IRQ.
Definition
compat_layer.h:42
cortexm_isr_end
static void cortexm_isr_end(void)
Trigger a conditional context scheduler run / context switch.
Definition
cpu.h:178
Generated on Thu Nov 19 2026 20:46:41 by
1.13.2