Search wiring.org.co:

Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.

Name |

### &= (bitwise AND and assign)

Examples |
    unsigned int a = 60;	// 60 = 0011 1100
    unsigned int b = 13;	// 13 = 0000 1101

    a &= b;              	// 12 = 0000 1100
Description | Combines bitwise AND and assign. The expression a &= b is equivalent to a = a & b.
Syntax |
    expression1 &= expression2
Parameters |

expression1 | any valid expression
expression2 | any valid expression

Usage | Application
Related | & (bitwise AND) | (bitwise OR) |= (bitwise OR and assign) ^ (bitwise XOR) ˜ (bitwise ones complement)
<< (bitwise bit shift left)
>> (bitwise bit shift right)

Updated on July 07, 2011 11:07:52pm PDT