##### Synopsis

    #include <in430.h>

    unsigned short _BIC_SR_IRQ(unsigned short mask);

##### Description

_BIC_SR_IRQ clears the bits specified in mask in the saved status register of an interrupt function (i.e. it bitwise ands the complement of mask into the saved status register). This allows you to change the operating mode of the MSP430 on return from the interrupt service routine, such as changing the low power mode.

_BIC_SR_IRQ returns the value of the saved MSP430 status register before the update.

_BIC_SR_IRQ is an intrinsic function and produces inline code.

##### Restrictions

_BIC_SR_IRQ can only be used in interrupt functions—an error is reported if it is used outside an interrupt function.

##### Portability

_BIC_SR_IRQ can be used on any MSP430 device.