mips_pic32mx/include/cpu.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016,2017, Imagination Technologies Limited and/or its
3  * affiliated group companies.
4  *
5  * This file is subject to the terms and conditions of the GNU Lesser
6  * General Public License v2.1. See the file LICENSE in the top level
7  * directory for more details.#
8  *
9  */
10 
23 #ifndef CPU_H
24 #define CPU_H
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 #include <stdio.h>
31 #include <inttypes.h>
32 #include <assert.h>
33 #include "irq.h"
34 
38 #define FLASH_XIP (1)
39 
45 static inline void cpu_print_last_instruction(void)
46 {
47  /* This function must exist else RIOT won't compile */
48 }
49 
53 void cpu_init(void);
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 
59 #endif /* CPU_H */
60 
static void cpu_print_last_instruction(void)
Print the last instruction&#39;s address.
POSIX.1-2008 compliant version of the assert macro.
void cpu_init(void)
Initialize the CPU, set IRQ priorities.
IRQ driver interface.