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
19#ifndef CPU_H
20#define CPU_H
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26#include <stdio.h>
27#include <stdint.h>
28#include "irq.h"
29
30#define PROVIDES_PM_SET_LOWEST
31
37static inline uintptr_t cpu_get_caller_pc(void)
38{
39 /* This function must exist else RIOT won't compile */
40 return 0;
41}
42
43#ifdef __cplusplus
44}
45#endif
46
47#endif /* CPU_H */
static uinttxtptr_t cpu_get_caller_pc(void)
Get the last instruction's address.
Definition cpu.h:141
IRQ driver interface.
stdio wrapper to extend the C libs stdio