23 #ifndef __XBEE_PLATFORM_DOS 24 #define __XBEE_PLATFORM_DOS 28 #define PACKED_STRUCT _Packed struct 29 #define XBEE_PACKED(name, decl) PACKED_STRUCT name decl 31 #define _f_memcpy memcpy 32 #define _f_memset memset 45 typedef unsigned short uint_fast8_t;
46 typedef signed short int_fast8_t;
48 #define __FUNCTION__ "" 56 #define LITTLE_ENDIAN 1234 57 #define BIG_ENDIAN 4321 59 #define BYTE_ORDER LITTLE_ENDIAN 66 #define INTERRUPT_ENABLE _enable() 67 #define INTERRUPT_DISABLE _disable() 74 #define XST_INIT_OK 0x0001 // Ser port initialized OK 77 void (__interrupt
FAR *prev_int)();
82 #define XST_MASK_DR 0x01 // Data Ready 83 #define XST_MASK_OE 0x02 // Overrun error 84 #define XST_MASK_PE 0x04 // Parity error 85 #define XST_MASK_FE 0x08 // Frame error 86 #define XST_MASK_BI 0x10 // Break interrupt 87 #define XST_MASK_THRE 0x20 // Tx holding reg empty 88 #define XST_MASK_TEMT 0x40 // Tx shift register empty 89 #define XST_MASK_FIFOE 0x80 // Rx FIFO error 101 #define ZCL_TIME_EPOCH_DELTA ZCL_TIME_EPOCH_DELTA_1970 105 #define XBEE_MS_TIMER_RESOLUTION (1000 / CLOCKS_PER_SEC) 107 #define WPAN_MAX_CONVERSATIONS 6 108 #define WPAN_CONVERSATION_TIMEOUT 15 115 void gotoxy_ansi(
int col,
int row);
116 void clrscr_ansi(
void);
120 void gotoxy00_bios(
int col,
int row);
121 void getxy_bios(
int *col,
int *row);
122 void clrscr_bios(
void);
125 #define gotoxy00(x,y) gotoxy00_bios(x,y) 126 #define gotoxy(x,y) gotoxy00_bios((x)-1, (y)-1) 127 #define getxy(x,y) getxy_bios(x,y) 128 #define clrscr() clrscr_bios() 131 #define gotoxy00(x,y) gotoxy((x)+1, (y)+1) 134 #endif // __XBEE_PLATFORM_DOS unsigned long uint32_t
32-bit unsigned integer
Definition: platform_config.h:43
signed char int8_t
8-bit signed integer
Definition: platform_config.h:38
#define FAR
On platforms with "far" pointers, define to the proper keyword; empty definition if not required...
Definition: platform.h:396
Definition: platform_config.h:71
unsigned short uint16_t
16-bit unsigned integer
Definition: platform_config.h:41
unsigned char uint8_t
8-bit unsigned integer
Definition: platform_config.h:39
short int16_t
16-bit signed integer
Definition: platform_config.h:40
long int32_t
32-bit signed integer
Definition: platform_config.h:42
Circular buffer used by transparent serial cluster handler.
Definition: cbuf.h:31
int bool_t
Variable that can hold 0 or 1, may be an int for speed purporses or uint8_t for size optimization...
Definition: platform_config.h:51