cpu.h
Go to the documentation of this file.
1 #ifndef __CPU_H__
2 #define __CPU_H__
3 
4 #include <stdint.h>
5 
6 //*****************************************************************************
7 //
8 // If building with a C++ compiler, make all of the definitions in this header
9 // have a C binding.
10 //
11 //*****************************************************************************
12 #ifdef __cplusplus
13 extern "C"
14 {
15 #endif
16 
17 //*****************************************************************************
18 //
19 // Prototypes.
20 //
21 //*****************************************************************************
22 extern uint32_t CPU_cpsid(void);
23 extern uint32_t CPU_cpsie(void);
24 extern uint32_t CPU_primask(void);
25 extern void CPU_wfi(void);
26 extern uint32_t CPU_basepriGet(void);
27 extern void CPU_basepriSet(uint32_t newBasepri);
28 
29 
30 //*****************************************************************************
31 //
32 // Mark the end of the C bindings section for C++ compilers.
33 //
34 //*****************************************************************************
35 #ifdef __cplusplus
36 }
37 #endif
38 
39 #endif // __CPU_H__
40 
uint32_t CPU_cpsie(void)
void CPU_wfi(void)
uint32_t CPU_cpsid(void)
uint32_t CPU_primask(void)
void CPU_basepriSet(uint32_t newBasepri)
uint32_t CPU_basepriGet(void)

Copyright 2016, Texas Instruments Incorporated