Main Page
Modules
Data Structures
Files
Related Pages
File List
Globals
cygdrive
c
msp432-driverlib
src
driverlib
MSP432P4xx
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
CPU_cpsie
uint32_t CPU_cpsie(void)
CPU_wfi
void CPU_wfi(void)
CPU_cpsid
uint32_t CPU_cpsid(void)
CPU_primask
uint32_t CPU_primask(void)
CPU_basepriSet
void CPU_basepriSet(uint32_t newBasepri)
CPU_basepriGet
uint32_t CPU_basepriGet(void)
Copyright 2015, Texas Instruments Incorporated