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

380 A. PROGRAMMING
//P2IN[5] related actions
break;
case 0x40: //P2IN[6]
//P2IN[6] related actions
break;
case 0x80: //P2IN[7]
//P2IN[7] related actions
break;
default:; //all other cases
} //end switch(new_PORT2)
} //end if new_PORT2
old_PORT2=new_PORT2; //update PORT2
}
That completes our brief overview of the C programming language.
A.5 REFERENCES
Barrett, Steven. Arduino Microcontroller Processing for Everyone!. San Rafael: Morgan & Clay-
pool, 2010.
ImageCraft Embedded Systems C Development Tools, www.imagecraft.com
Barrett, Steven and Daniel Pack. Embedded Systems Design with the Atmel AVR Microcontroller.
San Rafael: Morgan & Claypool, 2009.

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