Hi ,I have a problem when using __attribute__((bitband) when using Keil IDE.However I used bitband using classic marcos#define BIT_BAND(addr,pin) ( (((addr) & 0xF0000000) +0x2000000) + (((addr) & 0xFFFFF)<<5) + ((pin)<<2) ) and it works as expected...