I am having some issues with MSP430F2274 debugging. I have code which correctly writes data to P2IE but when I inspect the P2IE register the value is always zero. I know the value was correctly written because when I assign it's value to a variable the value is set as expected. I looked up the P2IE register in the data sheet and it says it is read/write but I also see that the data sheet says ...
Because there are only three I/O pins implemented from port P2,
bits [5:1] of all port P2 registers read as 0, and write data is ignored.
Now when I look at the part it has all 8 bits for P2 defined which can all be IO or something else.
So, any ideas on why I can't see the register value update?
I'm using IAR 7.10