Hi. I'm trying to unlock pin PD7 of the MSP432E401Y's GPIO pins. I know you have to use GPIOLOCK and GPIOCR.
The code I'm trying right now is this:
uint32_t GPIOLOCK = 0x4405B520;
HWREG(GPIOLOCK) = 0x4C4F4348;
To use HWREG(), I included the ti/ccs1020/CCS/tools/compiler/dmed/HTML/225.html file.
Right now the HWREG() function call is throwing the "expression must be a modifiable lvalue" error.
If there's a better way to access memory besides HWREG, I'm all ears.