Hi everybody
fooling around with the MSP432 launchpad.
Does anybody know how to properly and elegantly use bit banding?
Could not find much on the web and in the examples...
This does not work, does not even create an error message:
// this does what you expect, a short pulse
P1OUT |= BIT0;
P1OUT &= ~BIT0;
// this does nothing
BITBAND_PERI(P1OUT,BIT0)=1;
BITBAND_PERI(P1OUT,BIT0)=0;
does anybody know what I am doing wrong here?