58 #ifndef BSP430_UTILITY_EUI64_H
59 #define BSP430_UTILITY_EUI64_H
68 #ifndef configBSP430_EUI64
69 #define configBSP430_EUI64 0
81 #if defined(BSP430_DOXYGEN) || defined(configBSP430_EUI64)
83 #define BSP430_EUI64 (configBSP430_EUI64 - 0)
104 #ifndef configBSP430_EUI64_USE_PLATFORM
105 #define configBSP430_EUI64_USE_PLATFORM 1
120 #ifndef configBSP430_EUI64_USE_GENERIC
121 #define configBSP430_EUI64_USE_GENERIC 1
127 #define BSP430_EUI64_PERM 0
133 #define BSP430_EUI64_RANDOM 1
137 #define BSP430_EUI64_STOLEN 2
142 #define BSP430_EUI64_MASK_GROUP 0x01
147 #define BSP430_EUI64_MASK_LOCAL 0x02
186 #define BSP430_EUI64_IS_NULL(h_) ((0 == (h_)->ints[0]) \
187 & (0 == (h_)->ints[1]) \
188 & (0 == (h_)->ints[2]) \
189 & (0 == (h_)->ints[3]))
195 #define BSP430_EUI64_IS_INVALID(h_) ((-1 == (h_)->ints[0]) \
196 & (-1 == (h_)->ints[1]) \
197 & (-1 == (h_)->ints[2]) \
198 & (-1 == (h_)->ints[3]))
204 #define BSP430_EUI64_INVALIDATE(h_) do { \
205 hBSP430eui64 const h = (h_); \
241 #if defined(BSP430_DOXYGEN) || (BSP430_EUI64 - 0)
273 #define BSP430_EUI64_AS_TEXT_LENGTH sizeof("01-02-03-04-05-06-07-08")
uint64_t u64
Definition: eui64.h:159
union uBSP430eui64 uBSP430eui64
int iBSP430eui64Parse(const char *cfp, size_t len, hBSP430eui64 eui64)
uint8_t label[2]
Definition: eui64.h:174
Common header included by all BSP430 leaf headers.
uint8_t extension_id[3]
Definition: eui64.h:177
int16_t ints[4]
Definition: eui64.h:164
char * xBSP430eui64AsText(hBSP430eui64 eui64, char *buffer)
int iBSP430eui64(hBSP430eui64 eui64)
uBSP430eui64 * hBSP430eui64
Definition: eui64.h:182
uint8_t bytes[8]
Definition: eui64.h:154
uint8_t oui[3]
Definition: eui64.h:170