Zigbee Protocol Controller 1.6.0
|
Contains defines to make enums with specified underlying types. More...
Macros | |
#define | UIC_ENUM(name, type) |
Enum with <type> as size, where type may be any integer type. More... | |
#define | UIC_ENUM8(name) UIC_ENUM(name, uint8_t) |
Enum with 8 bit size. More... | |
#define | UIC_ENUM16(name) UIC_ENUM(name, uint16_t) |
Enum with 16 bit size. More... | |
#define | UIC_ENUM32(name) UIC_ENUM(name, uint32_t) |
Enum with 32 bit size. More... | |
Contains defines to make enums with specified underlying types.
#define UIC_ENUM | ( | name, | |
type | |||
) |
Enum with <type> as size, where type may be any integer type.
Usage: typedef enum { MY_ENTRY_1, MY_ENTRY_2, MY_ENTRY_X ) UIC_ENUM(my_type, int16_t); my_type x; //<< this will be of type int16_6 my_type_enum y; //<< this will be of enum type
#define UIC_ENUM16 | ( | name | ) | UIC_ENUM(name, uint16_t) |
Enum with 16 bit size.
Usage: typedef enum { MY_ENTRY_1, MY_ENTRY_2, MY_ENTRY_X ) UIC_ENUM16(my_type); my_type x; //<< this will be of type uint16_t my_type_enum y; //<< this will be of enum type
Enum with 32 bit size.
Usage: typedef enum { MY_ENTRY_1, MY_ENTRY_2, MY_ENTRY_X ) UIC_ENUM32(my_type); my_type x; //<< this will be of type uint32_t my_type_enum y; //<< this will be of enum type
#define UIC_ENUM8 | ( | name | ) | UIC_ENUM(name, uint8_t) |
Enum with 8 bit size.
Usage: typedef enum { MY_ENTRY_1, MY_ENTRY_2, MY_ENTRY_X ) UIC_ENUM8(my_type); my_type x; //<< this will be of type uint8_t my_type_enum y; //<< this will be of enum type