cpu.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017 Ken Rabold
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 
25 #ifndef CPU_H
26 #define CPU_H
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
35 void cpu_init(void);
36 
42 static inline void cpu_print_last_instruction(void)
43 {
44  /* This function must exist else RIOT won't compile */
45 }
46 
50 void nanostubs_init(void);
51 
52 #ifdef __cplusplus
53 }
54 #endif
55 
56 #endif /* CPU_H */
57 
void cpu_init(void)
Initialization of the CPU.
void nanostubs_init(void)
Initialization of the Newlib-nano stub.
static void cpu_print_last_instruction(void)
Print the last instruction's address.
Definition: cpu.h:42