Digi XBee(R) ANSI C Host Library
|
Based on POSIX platform, with additional code to interface with /RESET, SLEEP_REQ, ON/nSLEEP and XBEE_IDENT pins. More...
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <sys/time.h>
#include <libdigiapix/gpio.h>
#include "xbee/platform.h"
Data Structures | |
struct | gpio_xbee_t |
Macros | |
#define | CC6UL_IO(x) (465U + (x)) |
Enumerations | |
enum | { IO_XBEE_RESET, IO_XBEE_ON_NSLEEP } |
Functions | |
uint32_t | xbee_seconds_timer () |
Platform-specific function to return the number of elapsed seconds. More... | |
uint32_t | xbee_millisecond_timer () |
Platform-specific function to return the number of elapsed milliseconds. More... | |
int | digiapix_platform_init (void) |
void | digiapix_xbee_reset (struct xbee_dev_t *xbee, bool_t asserted) |
int | digiapix_xbee_is_awake (struct xbee_dev_t *xbee) |
Variables | |
const gpio_xbee_t | gpio_config [] |
gpio_t * | gpio [_TABLE_ENTRIES(gpio_config)] |
Based on POSIX platform, with additional code to interface with /RESET, SLEEP_REQ, ON/nSLEEP and XBEE_IDENT pins.
Initial version supports the XBee socket on the ConnectCore 6UL SBC Pro. For other products, update gpio_config[] with the correct kernel_num value for each pin.