M3 - GPIO
GPIO Configuration and Pins
For general purpose ports
Interrupts review
MSP430 Design Workshop
Generic Designations
MSP430FR2433 Launchpad Pinouts Functions for pins are multiplexed, the arrows point to the Port.Pin designationFor the connections to the LaunchPad Board
PxDir 0 PxIn 1 PxOutPxREN (input mode) PxOUT 0 – pull down
1 – pull upPxSel 00→10ADCPCtLx – ADC Input
PxIE – Interrupt Enable PinPxIES – Rising or falling edgePxIFG – Interrupt Flag (status)
GIE – General Interrupt Enable
PxDir 0 PxIn 1 PxOutPxREN (input mode) PxOUT 0 – pull down
1 – pull upPxSel 00→10ADCPCtLx – ADC Input
PxIE – Interrupt Enable PinPxIES – Rising or falling edgePxIFG – Interrupt Flag (status)
GIE – General Interrupt Enable
Interrupts Review
Code for ISR push button to toggle LED
Interrupt review MSP430-Interrupts-posted.pdf
Push a button, create an interrupt Switch 1 → P2.3
Maskable – turn on/off with a flag
CPU Registers
FRAM
SRAM