MSP430 GPIO
GPIO Output
Once you’ve configured a pin as an output with the PxDIR register, you can set the pins value
using the PxOUT register. For P1.7, this would be the P1OUT register.
Once again, the DriverLib GPIO_setOutputHighOnPin() or GPIO_SetOutputLowOnPin()
functions are the easiest way to write to the PxOUT registers. You can set multiple pins/bits by
or’ing (+) them together (similar to the P1DIR example on the previous page).
3 - 8 MSP430 Workshop - Using GPIO with MSP430ware