MSP430 DriverLib for MSP430F5xx_6xx Devices  2.91.13.01
ram

Functions

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

Detailed Description

Function Documentation

§ RAM_getSectorState()

uint8_t RAM_getSectorState ( uint8_t  sector)

Get RAM sector ON/OFF status.

Parameters
sectoris specified sector Mask value is the logical OR of any of the following:
  • RAM_SECTOR0
  • RAM_SECTOR1
  • RAM_SECTOR2
  • RAM_SECTOR3
  • RAM_SECTOR4
  • RAM_SECTOR5
  • RAM_SECTOR6
  • RAM_SECTOR7

Modified bits of RCCTL0 register.

Returns
Logical OR of any of the following:
  • RAM_SECTOR0
  • RAM_SECTOR1
  • RAM_SECTOR2
  • RAM_SECTOR3
  • RAM_SECTOR4
  • RAM_SECTOR5
  • RAM_SECTOR6
  • RAM_SECTOR7
    indicating the status of the masked sectors

§ RAM_setSectorOff()

void RAM_setSectorOff ( uint8_t  sector)

Set specified RAM sector off.

Parameters
sectoris specified sector to be set off. Mask value is the logical OR of any of the following:
  • RAM_SECTOR0
  • RAM_SECTOR1
  • RAM_SECTOR2
  • RAM_SECTOR3
  • RAM_SECTOR4
  • RAM_SECTOR5
  • RAM_SECTOR6
  • RAM_SECTOR7

Modified bits of RCCTL0 register.

Returns
None

Copyright 2020, Texas Instruments Incorporated