We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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 !?