Infineon Logo AIROC BTSDK v4.2 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
wiced_utilities.h File Reference

This file constains general utilities of AIROC. More...

Macros

#define MIN(x, y)   ((x) < (y) ? (x) : (y))
 Macro to get the minimum from 2 arguments.
 
#define MAX(x, y)   ((x) > (y) ? (x) : (y))
 Macro to get the maximum from 2 arguments.
 
#define _countof(x)   (sizeof(x) / sizeof(x[0]))
 Determine the number of elements in an array. More...
 
#define WICED_SWAP16(val)
 Macro to reverse bytes in a 16-bit value. More...
 
#define WICED_SWAP32(val)
 Macro to reverse bytes in a 32-bit value. More...
 
#define WICED_SWAP64(val)
 Macro to reverse bytes in a 64-bit value. More...
 
#define WICED_NTOH16(val)
 Load 16-bit value from unaligned big-endian byte array. More...
 
#define WICED_NTOH32(val)
 Load 32-bit value from unaligned big-endian byte array. More...
 
#define WICED_NTOH64(val)
 Load 64-bit value from unaligned big-endian byte array. More...
 

Detailed Description

This file constains general utilities of AIROC.