This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Single BIT access

Hi,

I want to define a register say my_flages and also define each bit separately to access individually. For example bit 0 of my_flages as key_on. And to set bit 0 in C

Key_on = 1;

And also to do other basic operations the same way.

Thanks

Herschel