• type casting?
    Hello, a question about how C166 handles type conversions: I have this: unsigned long c; unsigned char i, d if the following code is executed: c = 20403776; i = 0; d = 3; c += pow...
  • type casting?
    Hello, a question about how C166 handles type conversions: I have this: unsigned long c; unsigned char i, d if the following code is executed: c = 20403776; i = 0; d = 3; c += pow...
  • warning: #191-D: type qualifier is meaningless on cast type
    I have this line of code: pcTraceBuffer = ( volatile signed portCHAR * volatile )pcBuffer; it compiled with the previous version without warning. with the new Keil/Realview tool, I got a warning...
  • warning: #191-D: type qualifier is meaningless on cast type
    Theer is a register defined as: typedef union _NVIC_ST_RELOAD_t { INT32U Word; struct { INT32U reserved : 8; INT32U reloadvalue : 24; }Bits; }NVIC_ST_RELOAD_STRUCT, *pNVIC_ST_RELOAD_STRUCT; ...
  • warning: #191-D: type qualifier is meaningless on cast type
    typedef union _ldopctl_t_ { INT32U Word; struct { INT32U vadj : 6; INT32U reserved : 26; }Bits; }LDO_Ctrl_struct, *pLDO_Ctrl_struct; #define LDO_250V 0x00 #define reg(x, y) (*((volatile x)(y...