irp.h
上传用户:fy98168
上传日期:2015-06-26
资源大小:13771k
文件大小:1k
- #ifndef __IRP_H__
- #define __IRP_H__
- #ifdef __cplusplus
- extern "C" {
- #endif
- #include "gendef.h"
- #define PROTOCOL_USER_DEFINED
- //#define PROTOCOL_RC5
- #define BLAST_CLOCK_FREQUENCY ST_ClockInfo.CommsBlock
- #define BLAST_EVT_DEV EvtblastDeviceName[0]
- #define BLAST_RXD_PIO "PIO2"
- #define BLAST_RXD_BIT PIO_BIT_4
- #define SYMBOL_BUFFER_SIZE 200
- #define BLASTER_RECEIVER 1
- /* Blaster Task Constants */
- #define BLAST_STACK_SIZE 1024
- #define BLAST_INTERACTIVE_PRIORITY MIN_USER_PRIORITY
- #define NUMBER_EVT 1
- #define EVT_MAX_EVENTS 15
- #define EVT_MAX_CONNECTIONS 15
- #define EVT_MAX_SUBSCRIBERS 10
- UINT32 blaster_EvtInit(void);
- UINT32 blaster_Init(void);
- #ifdef __cplusplus
- }
- #endif
- #endif /* __IRP_H__ */