Digi XBee(R) ANSI C Host Library
Data Structures | Macros | Typedefs | Functions
platform_config.h File Reference

This file is automatically included by xbee/platform.h. More...

#include <time.h>
#include <dos.h>
#include <conio.h>
#include <stddef.h>

Go to the source code of this file.

Data Structures

struct  xbee_serial_t
 

Macros

#define PACKED_STRUCT   _Packed struct
 
#define XBEE_PACKED(name, decl)   PACKED_STRUCT name decl
 
#define _f_memcpy   memcpy
 
#define _f_memset   memset
 
#define __FUNCTION__   ""
 
#define LITTLE_ENDIAN   1234
 
#define BIG_ENDIAN   4321
 
#define BYTE_ORDER   LITTLE_ENDIAN
 
#define FAR
 
#define INTERRUPT_ENABLE   _enable()
 
#define INTERRUPT_DISABLE   _disable()
 
#define XST_INIT_OK   0x0001
 
#define XST_MASK_DR   0x01
 
#define XST_MASK_OE   0x02
 
#define XST_MASK_PE   0x04
 
#define XST_MASK_FE   0x08
 
#define XST_MASK_BI   0x10
 
#define XST_MASK_THRE   0x20
 
#define XST_MASK_TEMT   0x40
 
#define XST_MASK_FIFOE   0x80
 
#define ZCL_TIME_EPOCH_DELTA   ZCL_TIME_EPOCH_DELTA_1970
 
#define XBEE_MS_TIMER_RESOLUTION   (1000 / CLOCKS_PER_SEC)
 
#define WPAN_MAX_CONVERSATIONS   6
 
#define WPAN_CONVERSATION_TIMEOUT   15
 
#define gotoxy00(x, y)   gotoxy((x)+1, (y)+1)
 

Typedefs

typedef unsigned short uint_fast8_t
 
typedef signed short int_fast8_t
 

Functions

void gotoxy_ansi (int col, int row)
 
void clrscr_ansi (void)
 

platform_stdint

Types typically defined in <stdint.h>, define manually if stdint.h is not available on this platform.

typedef signed char int8_t
 8-bit signed integer
 
typedef unsigned char uint8_t
 8-bit unsigned integer More...
 
typedef short int16_t
 16-bit signed integer
 
typedef unsigned short uint16_t
 16-bit unsigned integer
 
typedef long int32_t
 32-bit signed integer
 
typedef unsigned long uint32_t
 32-bit unsigned integer
 
typedef int bool_t
 Variable that can hold 0 or 1, may be an int for speed purporses or uint8_t for size optimization.
 

Detailed Description

This file is automatically included by xbee/platform.h.