I wonder to know is there anyone who define a variable in bit-band area in c programming language for cortex-M3.
I have followed the compiler attribute based on the below link www.keil.com/.../armcc_chr1359124215827.htm but when I check the address range, it has been defined out of the scope of bit-banding and it seems the attribute doesn't effect the code even if I use this code __attribute__((at())) ?
As far as I know bit-banded area map each bit into 8 bit if we write 0b00000001 into the 8 bit the corresponding bit become one and vice versa but what I want to know is, it has been said that bit-banded area help us to toggle bit in a atomic way (what I'm looking for) ,how could be accomplished !?
"with an assign to the pointer" should of course be "with an assign through the pointer"
This forum should do well to use a standard implementation with real accounts and edit functionality.
Thanks per you are right but I wanted to make sure about the IDE attribute that it works or not. Thanks for your time
What IDE attribute?