In the uVision enviroment i have a warning which according to the help files i do not believe i should get.
It complains about the typedef enum { DATAACCESS_Config = (u32)0x00000000, DATAACCESS_Status = (u32)0x40000000, DATAACCESS_Control = (u32)0x80000000, DATAACCESS_NotImplemnted = (u32)0xC0000000 } DATAACCESS_Type;
but on the help files it states that values are treated the same as in C++ as unsigned ints.
so will this values be used correctly and therefore the warning needs to be removed, if so how do i do this??
I quickly checked here:
infocenter.arm.com/.../index.jsp
It seems that despite the warning, the values have been promoted to an unsigned.
hello, enum is unsigned int by default so reduce the size of your variables to 0x0000 and check bye take care