Connexions

Sections
You are here: Home » Content » Bit Manipulation in C for TI MSP430 Microcontrollers

About: Bit Manipulation in C for TI MSP430 Microcontrollers

Module by: Trent Kelly

View content

Metadata

Name: Bit Manipulation in C for TI MSP430 Microcontrollers
ID: m15805
Language: English (en)
Summary: Microcontrollers require more bit manipulation than most typical C programs. The intent of this module is to help programmers new to the MSP430 processor get the results they need from C language bit manipulation instructions. Much of this content applies to C programming for many microcontrollers as well as for computers; the examples are based on the Texas Instruments MSP430.
Subject: Science and Technology
Keywords: ANSI C, bit, bitwise, C, embedded, header, microcontroller, MSP430, truth table
Document Type: -//CNX//DTD CNXML 0.5 plus MathML//EN
License: Creative Commons Attribution License (CC-BY 2.0)

Authors: Trent Kelly (advplc@yahoo.com)
Copyright Holders: Trent Kelly (advplc@yahoo.com)
Maintainers: Trent Kelly (advplc@yahoo.com)

Version: 1.2 (history)
Created: Feb 6, 2008 11:02 pm US/Central
Revised: Feb 11, 2008 11:43 am US/Central

Version History

Version: 1.2 Feb 11, 2008 11:43 am US/Central by Trent Kelly
Changes:
Corrected from = to |= in last example

Version: 1.1 Feb 10, 2008 11:40 pm US/Central by Trent Kelly
Changes:
Revision N/C

How to Reuse and Attribute This Content

If you reuse this work, in order to comply with the attribution requirements of the license (CC-BY 2.0), you must include the

  • authors' names
  • title of the work
  • and the Connexions URL where the work can be found

If you derive a copy of this content using a Connexions account and publish your version, proper attribution of the original work will be automatically done for you.

How to Cite and Attribute This Content

The following citation styles comply with the attribution requirements for the license (CC-BY 2.0) of this work:

American Chemical Society (ACS) Style Guide:

Kelly, T. Bit Manipulation in C for TI MSP430 Microcontrollers, Connexions Web site. http://cnx.org/content/m15805/1.2/, Feb 11, 2008.

American Medical Assocation (AMA) Manual of Style:

Kelly T. Bit Manipulation in C for TI MSP430 Microcontrollers [Connexions Web site]. February 11, 2008. Available at: http://cnx.org/content/m15805/1.2/.

American Psychological Assocation (APA) Publication Manual:

Kelly, T. (2008, February 11). Bit Manipulation in C for TI MSP430 Microcontrollers. Retrieved from the Connexions Web site: http://cnx.org/content/m15805/1.2/

Chicago Manual of Style (Bibliography):

Kelly, Trent. "Bit Manipulation in C for TI MSP430 Microcontrollers." Connexions. February 11, 2008. http://cnx.org/content/m15805/1.2/.

Chicago Manual of Style (Note):

Trent Kelly, "Bit Manipulation in C for TI MSP430 Microcontrollers," Connexions, February 11, 2008, http://cnx.org/content/m15805/1.2/.

Chicago Manual of Style (Reference, in Author-Date style):

Kelly, T. 2008. Bit Manipulation in C for TI MSP430 Microcontrollers. Connexions, February 11, 2008. http://cnx.org/content/m15805/1.2/.

Modern Languages Association (MLA) Style Manual:

Kelly, Trent. Bit Manipulation in C for TI MSP430 Microcontrollers. Connexions. 11 Feb. 2008 <http://cnx.org/content/m15805/1.2/>.