XBee Firmware Library  1.6.0
Functions
swapbytes.c File Reference

Functions

XBEE_BEGIN_DECLS uint16_t swap16 (uint16_t value)
 Swap the byte order of a 16-bit value. More...
 
uint32_t swap32 (uint32_t value)
 Swap the byte order of a 32-bit value. More...
 

Detailed Description

For platforms without swap32() and swap16() functions for swapping byte order for 32 and 16-bit values.

Note
Should be written in assembly for embedded targets.