Digi XBee(R) ANSI C Host Library
Functions

Platform-specific functions for use by the XBee Driver on Freescale HCS08 platform. More...

#include "xbee/platform.h"
#include "rtc.h"

Functions

uint32_t() xbee_seconds_timer (void)
 Platform-specific function to return the number of elapsed seconds. More...
 
uint32_t() xbee_millisecond_timer (void)
 Platform-specific function to return the number of elapsed milliseconds. More...
 
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...
 
void xbee_reset_radio (struct xbee_dev_t *xbee, bool_t asserted)
 Function to pass to xbee_dev_init() to control the EM250's /RESET pin on PTCD4.
 

Detailed Description

Platform-specific functions for use by the XBee Driver on Freescale HCS08 platform.

Note that on the Programmable XBee, you need to call InitRTC() from main and assign vRTC to the interrupt in the project's .PRM file.