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
23 extern "C" {
24 #endif
25 
26 #include <stdio.h>
27 #include <stdint.h>
28 #include "irq.h"
29 
30 #define PROVIDES_PM_SET_LOWEST
31 
37 static inline void cpu_print_last_instruction(void)
38 {
39  /* This function must exist else RIOT won't compile */
40 }
41 
42 #ifdef __cplusplus
43 }
44 #endif
45 
46 #endif /* CPU_H */
47 
irq.h
IRQ driver interface.
cpu_print_last_instruction
static void cpu_print_last_instruction(void)
Print the last instruction's address.
Definition: cpu.h:37