This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

enum values out of range!

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??

0