MSP430 DriverLib for MSP430FR5xx_6xx Devices  2.21.00.08
 All Data Structures Functions Variables Modules Pages
ram

Functions

void RAM_setSectorOff (uint8_t sector, uint8_t mode)
 Set specified RAM sector off. More...
 
uint8_t RAM_getSectorState (uint8_t sector)
 Get RAM sector ON/OFF status. More...
 

Detailed Description

Function Documentation

uint8_t RAM_getSectorState ( uint8_t  sector)

Get RAM sector ON/OFF status.

Parameters
sectoris specified sector Valid values are:
  • RAM_SECTOR0
  • RAM_SECTOR1
  • RAM_SECTOR2
  • RAM_SECTOR3
Returns
One of the following:
  • RAM_RETENTION_MODE
  • RAM_OFF_WAKEUP_MODE
  • RAM_OFF_NON_WAKEUP_MODE
    indicating the status of the masked sectors
void RAM_setSectorOff ( uint8_t  sector,
uint8_t  mode 
)

Set specified RAM sector off.

Parameters
sectoris specified sector to be set off. Valid values are:
  • RAM_SECTOR0
  • RAM_SECTOR1
  • RAM_SECTOR2
  • RAM_SECTOR3
modeis sector off mode Valid values are:
  • RAM_RETENTION_MODE
  • RAM_OFF_WAKEUP_MODE
  • RAM_OFF_NON_WAKEUP_MODE

Modified bits of RCCTL0 register.

Returns
None

Copyright 2015, Texas Instruments Incorporated