11.07.2015 Views

MSP430 IAR C/C++ Compiler reference guide - Rice University

MSP430 IAR C/C++ Compiler reference guide - Rice University

MSP430 IAR C/C++ Compiler reference guide - Rice University

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Descriptions of intrinsic functions__bis_SR_registerSyntaxDescriptionvoid __bis_SR_register(unsigned short);Sets bits in the status register. The function takes an integer literal as its argument, thatis, a bit mask with the bits to be set.__bis_SR_register_on_exitSyntaxDescriptionvoid __bis_SR_register_on_exit(unsigned short);Sets bits in the processor status register when an interrupt or monitor function returns.The function takes an integer literal as its argument, that is, a bit mask with the bits tobe set.This intrinsic function is only available in interrupt and monitor functions.__data16_read_addrSyntaxunsigned long __data16_read_addr(unsigned short address);where:addressSpecifies the address for the read operationDescriptionReads data from a 20-bit SFR register located at the given 16-bit address. This intrinsicfunction is only useful on devices based on the <strong>MSP430</strong>X architecture.__data16_write_addrSyntaxvoid __data16_write_addr(unsigned short address,unsigned long data);where:addressdataSpecifies the address for the write operationThe data to be written218<strong>MSP430</strong> <strong>IAR</strong> C/<strong>C++</strong> <strong>Compiler</strong>Reference Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!