ramcontroller.h
Go to the documentation of this file.
00001 #ifndef __MSP430WARE_RC_H__
00002 #define __MSP430WARE_RC_H__
00003 
00004 //*****************************************************************************
00005 //
00006 //The following are the defines to include the required modules for this
00007 //peripheral in msp430xgeneric.h file
00008 //
00009 //*****************************************************************************
00010 #define __MSP430_HAS_RC__
00011 
00012 //*****************************************************************************
00013 //
00014 //The following are values that can be passed to the 
00015 //ramController_setSectorOff() API as the sector parameter.
00016 //
00017 //*****************************************************************************
00018 #define RAMCONTROL_SECTOR0   RCRS0OFF
00019 #define RAMCONTROL_SECTOR1   RCRS1OFF
00020 #define RAMCONTROL_SECTOR2   RCRS2OFF
00021 #define RAMCONTROL_SECTOR3   RCRS3OFF
00022 #define RAMCONTROL_SECTOR4   RCRS4OFF
00023 #define RAMCONTROL_SECTOR5   RCRS5OFF
00024 #define RAMCONTROL_SECTOR6   RCRS6OFF
00025 #define RAMCONTROL_SECTOR7   RCRS7OFF
00026 
00027 //*****************************************************************************
00028 //
00029 //Prototypes for the APIs.
00030 //
00031 //*****************************************************************************
00032 extern void 
00033 ramController_setSectorOff (unsigned int baseAddress,
00034     unsigned char sector
00035     );
00036 extern unsigned char 
00037 ramController_getSectorState (unsigned int baseAddress,
00038     unsigned char sector
00039     );
00040 #endif

Copyright 2012, Texas Instruments Incorporated