int main(void)
#include "ti/devices/msp432p4xx/driverlib/driverlib.h"
The is the evolutionary successor. It combines the ultra-low-power heritage of the MSP430 with the power of a 32-bit ARM Cortex-M4F core.
This is the "secret sauce" of the MSP432. Most microcontrollers consume significant power even when idle. The MSP432 features multiple Low Power Modes (LPM0, LPM3, LPM4, LPM3.5, LPM4.5).
Embedded Systems: Introduction to the MSP432 Microcontroller by Jonathan Valvano. The Story of the "Smart Garden" Prototype
// Configure P1.0 as an output (LED1 on LaunchPad) GPIO_setAsOutputPin(GPIO_PORT_P1, GPIO_PIN0);