Digi XBee(R) ANSI C Host Library
Macros | Functions | Variables
xbee_platform_mbed.cpp File Reference

Platform support for Freescale KL25 using mbed compiler. More...

#include "mbed.h"
#include "xbee_platform.h"
#include <ctype.h>

Macros

#define XBEE_READLINE_STATE_INIT   0
 
#define XBEE_READLINE_STATE_START_LINE   1
 
#define XBEE_READLINE_STATE_CONTINUE_LINE   2
 

Functions

Serial Stdio (USBTX, USBRX)
 
void mstimer_isr (void)
 
int xbee_platform_init (void)
 
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 _xbee_get_unaligned16 (const void FAR *p)
 
uint32_t _xbee_get_unaligned32 (const void FAR *p)
 
void _xbee_set_unaligned16 (void FAR *p, uint16_t value)
 
void _xbee_set_unaligned32 (void FAR *p, uint32_t value)
 
int xbee_readline (char *buffer, int length)
 This function is a non-blocking version of gets(), used to read a line of input from the user. More...
 

Variables

Ticker ticker
 
uint32_t MS_TIMER = 0
 
uint32_t SEC_TIMER = 0
 

Detailed Description

Platform support for Freescale KL25 using mbed compiler.