www.pudn.com > EM4469firmware.zip > level3.h


/* 
*------------------------------------------------------------------------------- 
*--  RCSId: $Id: level3.h,v 0.17 2003-10-10 10:55:41+02 mjg Exp mjg $ 
*--         $Name:  $ 
*------------------------------------------------------------------------------- 
*-- level3.c - High level data transformations and main loop  
*------------------------------------------------------------------------------- 
*-- $Log: level3.h,v $
*-- Revision 0.17  2003-10-10 10:55:41+02  mjg
*-- *** empty log message ***
*--
*-- Revision 0.16  2003-08-21 16:00:21+02  mjg
*-- RTF capture problem
*-- 
*-- Revision 0.15  2003-08-20 10:53:20+02  mjg 
*-- to redesign SearchPattern 
*-- 
*-- Revision 0.14  2003-08-20 10:00:46+02  mjg 
*-- to add debug features 
*-- 
*-- Revision 0.13  2003-08-07 08:01:31+02  mjg 
*-- *** empty log message *** 
*-- 
*-- Revision 0.11  2003-07-22 13:27:39+02  mjg 
*-- cloned firmware 
*-- 
*------------------------------------------------------------------------------- 
*/ 
 
#ifndef __LEVEL3__ 
#define __LEVEL3__ 
 
//constants---------------------------------------------------------- 
 
#define FWD_CMD_LOGIN   0x4      //all binary mirrored 
#define FWD_CMD_WRITE   0x2 
#define FWD_CMD_READ    0x1 
#define FWD_CMD_DISABLE 0x5 
 
//public variables--------------------------------------------------- 
 
extern uint8_t forwardLink_data[64];         //array of forwarded bits 
 
extern uint16_t maxCaptureTimeLow;           //lower part of current maximum capture time (used to initialise TCNT1) 
extern uint8_t maxCaptureTimeHi;             //upper part of current maximum capture time (expected value 0xFF or 0xFE only) 
 
extern uint32_t RO_value_low;                //Read Only data value 
extern uint32_t RO_value_hi;                 //Read Only data value 
 
 
//function declarations---------------------------------------------- 
 
extern void main_receiver(void); 
 
#endif // __LEVEL3__