Readme

Example Summary

Toggles three GPIO pins using HW toggle register.

Peripherals, Pin Functions, MCU Pins, Launchpad Pins

Peripheral Function MCU Pin Launchpad Pin Launchpad Settings
GPIOB Standard Output PB16 LED2 Blue Populate Jumper(s): J3[1:2]
GPIOB Standard Output PB17 LED2 Red Populate Jumper(s): J4[1:2]
GPIOB Standard Output PB18 LED2 Green Populate Jumper(s): J5[1:2]
GPIOB Standard Output PB14 J2_18
SYSCTL
EVENT
BOARD Debug Clock PA20 J22_16
BOARD Debug Data In Out PA19 J22_14

Device Migration Recommendations

This project was developed for a superset device included in the LP_MSPM0L2228 LaunchPad. Please visit the CCS User’s Guide for information about migrating to other MSPM0 devices.

Low-Power Recommendations

TI recommends to terminate unused pins by setting the corresponding functions to GPIO and configure the pins to output low or input with internal pullup/pulldown resistor.

SysConfig allows developers to easily configure unused pins by selecting BoardConfigure Unused Pins.

For more information about jumper configuration to achieve low-power using the MSPM0 LaunchPad, please visit the LP-MSPM0L2228 web page.

Example Usage

Compile, load and run the example. RGB LEDs will toggle with red being opposite of blue and green.