Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
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 uintptr_t cpu_get_caller_pc(void)
Gets the last instruction's address.
Definition:
cpu.h:36
irq.h
IRQ driver interface.
Generated on Mon Jun 30 2025 18:46:45 by
1.9.1