Hello,
I am reading 5 words from memory and then trying to determine bit values within each of the words.
I am given the location of the bit positions in hex, so can I bitwise operator "and" the word and the hex value to determine the value of the bit position?
For example:
is_bit_set = word_read_from_mem & 0x00000001;
is_bit_set = word_read_from_mem & 0x00080000;
Thanks.