📄 wx_lrwpan.h
字号:
/*
top level include file
should be included by all stack code
includes functions/defintions common to all layers
*2006/08/16 WXL 2.0
*/
#ifndef WXL_LRWPAN_H
#define WXL_LRWPAN_H
typedef unsigned char INT8U;
typedef unsigned short INT16U;
typedef unsigned long INT32U;
#include "compiler.h" //compiler specific
#include "lrwpan_common_types.h" //types common acrosss most files
#include "hal.h"
#include "console.h"
#include "debug.h"
#include "memalloc.h"
#include "neighbor.h"
#include "halStack.h"
#include "evboard.h"
#include "ieee_lrwpan_defs.h"
#include "phy.h"
#include "mac.h"
#include "nwk.h"
#include "aps.h"
#include "zep.h"
#include "Font.h"
#include "lcd128_64.h"
#include "sensor.h"
#include "AT25640.h"
/******************************************************************************
*LCD I/O
*
*******************************************************************************/
#ifdef LRWPAN_COORDINATOR
#define LCD_RST P1_4
#define LCD_RS P0_0
#define LCD_CLK P1_5
#define LCD_SDO P1_6
#define LCD_CS P1_3
#define LCD_PWR P0_1
#define KEY_CANCEL P0_4
#define KEY_OK P0_5
#endif //LRWPAN_COORDINATOR
#ifdef LRWPAN_RFD
#define K_UP 0X20
#define K_DOWN 0X21
#define K_LIFT 0X22
#define K_RIGHT 0X23
#define K_CANCEL 0X24
#define K_OK 0X25
#define K_CENTRED 0x26
#define KEY_CANCEL P1_7
#define KEY_OK P0_1
#define CS_25640 P1_2
#define VCON P1_0
#define CS_TC77 P1_6
#define SCK P1_3
#define MOSI P1_4
#define MISO P1_5
#endif//LRWPAN_RFD
#endif//WXL_LRWPAN_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -