2020-2021 Sunseeker Telemetry and Lighting System
ram.h
Go to the documentation of this file.
1
//*****************************************************************************
2
//
3
// ram.h - Driver for the RAM Module.
4
//
5
//*****************************************************************************
6
7
#ifndef __MSP430WARE_RAM_H__
8
#define __MSP430WARE_RAM_H__
9
10
#include "
inc/hw_memmap.h
"
11
12
#ifdef __MSP430_HAS_RC__
13
14
//*****************************************************************************
15
//
16
// If building with a C++ compiler, make all of the definitions in this header
17
// have a C binding.
18
//
19
//*****************************************************************************
20
#ifdef __cplusplus
21
extern
"C"
22
{
23
#endif
24
25
//*****************************************************************************
26
//
27
// The following are values that can be passed to the sector parameter for
28
// functions: RAM_setSectorOff(), and RAM_getSectorState() as well as returned
29
// by the RAM_getSectorState() function.
30
//
31
//*****************************************************************************
32
#define RAM_SECTOR0 RCRS0OFF
33
#define RAM_SECTOR1 RCRS1OFF
34
#define RAM_SECTOR2 RCRS2OFF
35
#define RAM_SECTOR3 RCRS3OFF
36
#define RAM_SECTOR4 RCRS4OFF
37
#define RAM_SECTOR5 RCRS5OFF
38
#define RAM_SECTOR6 RCRS6OFF
39
#define RAM_SECTOR7 RCRS7OFF
40
41
//*****************************************************************************
42
//
43
// Prototypes for the APIs.
44
//
45
//*****************************************************************************
46
47
//*****************************************************************************
48
//
65
//
66
//*****************************************************************************
67
extern
void
RAM_setSectorOff(uint8_t sector);
68
69
//*****************************************************************************
70
//
96
//
97
//*****************************************************************************
98
extern
uint8_t RAM_getSectorState(uint8_t sector);
99
100
//*****************************************************************************
101
//
102
// Mark the end of the C bindings section for C++ compilers.
103
//
104
//*****************************************************************************
105
#ifdef __cplusplus
106
}
107
#endif
108
109
#endif
110
#endif
// __MSP430WARE_RAM_H__
hw_memmap.h
Software
Code Composer Studio Workspace
SunseekerTelemetryAndLightingSystem
Libraries
driverlib
MSP430F5xx_6xx
ram.h
Generated on Tue Apr 6 2021 20:40:57 for 2020-2021 Sunseeker Telemetry and Lighting System by
1.9.1