In this second part of the MSP430 programming tutorial examples of GPIO register settings will be shown and explained. Additionally register examples for some of the internal peripherals will be demonstrated and explained. The first part of the tutorial can be found here.
Tag Archives: Bitwise
MSP430 Programming Tutorial Pt/1
In this MSP430 programming tutorial part 1 some of basic C operators used for programming the MSP430 will be looked at. The GPIO port registers will then be looked at in greater detail. In part 2 example code for the GPIO registers will be shown and explained, as well as examples for the the ADC peripheral register. The MSP430G2253 Launchpad will be used as the reference microcontroller, the primary IDE used is Code Composer Studio (CCS). The MSP430G series family guide, as well as other useful information can be downloaded directly from Texas Instruments webpage here.