Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
cpu.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2019 Gunar Schorcht
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
17
18
#ifdef __cplusplus
19
extern
"C"
{
20
#endif
21
22
#include <stdio.h>
23
#include <stdint.h>
24
#include "
irq.h
"
25
26
#define PROVIDES_PM_SET_LOWEST
27
33
static
inline
uintptr_t
cpu_get_caller_pc
(
void
)
34
{
35
/* This function must exist else RIOT won't compile */
36
return
0;
37
}
38
39
#ifdef __cplusplus
40
}
41
#endif
42
cpu_get_caller_pc
static uinttxtptr_t cpu_get_caller_pc(void)
Get the last instruction's address.
Definition
cpu.h:137
irq.h
IRQ driver interface.
Generated on Mon Sep 15 2025 13:46:10 by
1.13.2