#include "inc/hw_types.h"
#include "driverlib/5xx_6xx/debug.h"
#include "driverlib/5xx_6xx/ramcontroller.h"
#include "deprecated/CCS/msp430xgeneric.h"
Functions | |
void | ramController_setSectorOff (unsigned int baseAddress, unsigned char sector) |
unsigned char | ramController_getSectorState (unsigned int baseAddress, unsigned char sector) |
void ramController_setSectorOff | ( | unsigned int | baseAddress, |
unsigned char | sector | ||
) |
Set specified RAM sector off
baseAddress | is the base address of the Timer module. |
sector | is specified sector to be set off. Valid values are a logical OR of RAMCONTROL_SECTOR0 RAMCONTROL_SECTOR1 RAMCONTROL_SECTOR2 RAMCONTROL_SECTOR3 RAMCONTROL_SECTOR4 RAMCONTROL_SECTOR5 RAMCONTROL_SECTOR6 RAMCONTROL_SECTOR7 |
Modified register RCCTL0
References ASSERT, HWREG, RAMCONTROL_SECTOR0, RAMCONTROL_SECTOR1, RAMCONTROL_SECTOR2, and RAMCONTROL_SECTOR3.
unsigned char ramController_getSectorState | ( | unsigned int | baseAddress, |
unsigned char | sector | ||
) |
Get RAM sector ON/OFF status
baseAddress | is the base address of the Timer module. |
sector | is specified sector Valid values are a logical OR of RAMCONTROL_SECTOR0 RAMCONTROL_SECTOR1 RAMCONTROL_SECTOR2 RAMCONTROL_SECTOR3 RAMCONTROL_SECTOR4 RAMCONTROL_SECTOR5 RAMCONTROL_SECTOR6 RAMCONTROL_SECTOR7 |
Modified register RCCTL0
References ASSERT, HWREGB, RAMCONTROL_SECTOR0, RAMCONTROL_SECTOR1, RAMCONTROL_SECTOR2, and RAMCONTROL_SECTOR3.