What is the informal name for performing bit level manipulations using bitwise logical functions?
Bit Twiddling
What operator is used with a but mask(1«i) to turn a bit ON( set it to 1) without affecting others?
OR(|)
What operators are combined with a bitmask~(1«i) to turn a bit off , clear it to 0) without affecting others?
And(&) is combined with the outside or
What operator is used with a bit mask(1«i) to flip a bits state to toggle it
XOR(^)
Why is the first pin/LED in a bank referred to as Number Zero?
Because C code uses zero-indexing( starting counts and array positions at 0)
What is the informal name for performing bit-level manipulations using bitwise logical functions?
Bit twiddling
What operator is used with a bitmask(1«i) to turn a bit on (set it to 1) without affecting others?
OR(|)-used for setting bits
What operators are used with a bitmask (1«i) to turn a bit off( clear it to 0) without affecting others?
And(&) and Not(~)
What operator is used with a bitmask(1«i) to flip a bits state(to toggle it)?
XOR(^)
Why is the first pin/LED in the bank referred to as Number Zero(eg PB0)?
Because c code uses zero-indexing where it starts counting positions at 0
Or
Is used for setting a bit to one and and is used for checking a bit and clearing