AVR Z-LINKŪ


config_uart_extended.h

Go to the documentation of this file.
00001 /* This file has been prepared for Doxygen automatic documentation generation.*/
00049 #ifndef CONFIG_UART_EXTENDED
00050 #define CONFIG_UART_EXTENDED
00051 
00052 #define OPERATING_CHANNEL ( 11 ) // !< Channel to transmit on. Must be between 11 and 26!
00053 #define PAN_ID            ( 0xBEEF ) 
00054 
00055 //Make sure that the two nodes are programmed with different short address 
00056 //(SHORT_ADDRESS) and destination address (DEST_ADDRESS). Do this by commenting
00057 //out one of the sections below. First compile for Node1 and then for Node2.
00058 
00059 //Node1
00060 #define SHORT_ADDRESS_NODE1 ( 0xBAAD ) 
00061 
00062 //Node2
00063 #define SHORT_ADDRESS_NODE2 ( 0xACDC ) 
00064 
00065 /*Compile and program once for each of these options.*/
00066 #define NODE1
00067 //#define NODE2
00068 
00069 #ifdef NODE1
00070 #define SHORT_ADDRESS ( SHORT_ADDRESS_NODE1 )
00071 #define DEST_ADDRESS  ( SHORT_ADDRESS_NODE2 )
00072 #else
00073 #define SHORT_ADDRESS ( SHORT_ADDRESS_NODE2 )
00074 #define DEST_ADDRESS  ( SHORT_ADDRESS_NODE1 )
00075 #endif
00076 
00077 /*Chose one of these options according to the kit you want to use.*/
00078 //#define STK541
00079 #define RZ502
00080 
00081 #define COM_RX_BUFFER_SIZE ( 118 ) //DO NOT ALTER!!!
00082 #define RX_POOL_SIZE       ( 4 ) //MUST BE GREATER THAN ZERO.
00083 #endif
00084 /*EOF*/
@DOC_TITLE@
Generated on Wed Jul 25 21:15:49 2007 for AVR2001 Software Programmer's Manual by doxygen 1.4.7