Hi All,
Using MSP430F6679 on IAR Workbench..
I'm trying to disable GIE...
This is the register in the MCU library.
When I put in GIE=0; the error comes up, so my question is how do I set and unset this bit?
Cheers!
Using MSP430F6679 on IAR Workbench..
I'm trying to disable GIE...
C:
/************************************************************
* STATUS REGISTER BITS
************************************************************/
#define C (0x0001u)
#define Z (0x0002u)
#define N (0x0004u)
#define V (0x0100u)
#define GIE (0x0008u)
#define CPUOFF (0x0010u)
#define OSCOFF (0x0020u)
#define SCG0 (0x0040u)
#define SCG1 (0x0080u)
When I put in GIE=0; the error comes up, so my question is how do I set and unset this bit?
Cheers!