Pages

Using Bitwise Operators in C

What are bitwise operators?

Bitwise operators allow access to individual bits in a variable or register. A typical register or variable is at least 1 byte (8 bits) in size.

What bitwise operators are available in C?

&, |, ^, ~, <<, and >>

Where can I learn more about bitwise operators?

See the Writing C Code for Microcontrollers with Bitwise Operators presentation from Dr. Jordan.

Dr. Shawn Jordan

is an Associate Professor, electrical engineer, maker, and engineering education researcher.

No comments:

Post a Comment