O'Reilly logo

Microcontroller Programming and Interfacing Texas Instruments MSP430 by Daniel J. Pack, Steven F. Barrett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

364 A. PROGRAMMING
computer
C compiler
compiler
assembler
filename.c
filename.h
assembly code
C compiler
USB
LCD
machine code
MSP430 USB-Debug-Interface
MSP-FET 430 UIF
MSP430F5438 expe rime nter boa rd
Figure A.1: Programming the MSP430 microcontroller.
A.3 ANATOMY OF A PROGRAM
Programs written for a microcontroller have a fairly repeatable format. Slight variations exist but
many follow the format provided.
//Comments containing program information
// - file name:
// - author:
// - revision history:
// - compiler setting information:
// - hardware connection description to microcontroller pins
// - program description
//include files

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required