What command lets me see the contents of the GIE bit in the SR register?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Clyde,
There is no SYS/BIOS API for this.
However, I think you can use a native codegen tools feature for this:
extern cregister volatile unsigned int CSR;
{
UInt GIE = CSR & 0x1;
}
Alan
Please see Section 6.7.1 "MSP430 Intrinsics" in the MSP430 Compiler Guide. There are several intrinsics related to SR_register. If you're simply trying to read SR you would call _get_SR_register().