Synopsis
#include <in430.h>
unsigned short __bis_SR_register(unsigned short mask);
Description

__bis_SR_register sets the bits specified in mask in the MSP430 status register (i.e. it bitwise ors mask into the status register).

__bis_SR_register returns the value of the MSP430 status register before the update.

__bis_SR_register is an intrinsic function and produces inline code.

Portability

__bis_SR_register can be used on any MSP430 device.