Hi,
I am trying to write a modified I2C protocol using the eUSCI module B on the MSP432P401R. My problem is that I don't know how to accomplish the same goal as the line
__bic_SR_register_on_exit(CPUOFF); in the MSP430
In order to exit sleep mode. I could find no documentation explained how this is done, though I found some obscure code that did this:
SCB_SCR &= ~SCB_SCR_SLEEPONEXIT;
But this does not appear to work correctly, since there are multiple ISR's running simultaneously, some of which wake up the device and some of which do not.
If anyone knows of a solution, thanks.