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
* Copyright (C) 2019 Gunar Schorcht
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
9
#pragma once
10
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
25
#include <stdio.h>
26
#include <stdint.h>
27
#include "
irq.h
"
28
29
#define PROVIDES_PM_SET_LOWEST
30
36
static
inline
uintptr_t
cpu_get_caller_pc
(
void
)
37
{
38
/* This function must exist else RIOT won't compile */
39
return
0;
40
}
41
42
#ifdef __cplusplus
43
}
44
#endif
45
cpu_get_caller_pc
static uinttxtptr_t cpu_get_caller_pc(void)
Get the last instruction's address.
Definition
cpu.h:140
irq.h
IRQ driver interface.
Generated on Thu Jul 3 2025 17:41:19 by
1.13.2