Pcmcia Card Record Structures - Berkeley Varitronics Systems Fox Manual

Table of Contents

Advertisement

PCMCIA CARD RECORD STRUCTURES

//
PC Card Structures
#define RECT1 0xa1
#define RECT2 0xb2
#define RECT3 0xc3
#define RECT4 0xd4
#define RECT5 0xe5
/* @ new card records @ */
/* 2-3-95 */
#define RECT3A 0xc4
#define RECT3B 0xc5
#define RECT3C 0xc6
#define RECT3D
0xc7
/*
id and memory map record
/*
NOTE: int's in this struct are NOT in INTEL format
/*
they require BYTE flip
struct
tc_idrec {
BYTE tcid[16];
WORD tcsiz;
WORD tcnxtp;
WORD tcnxto;
BYTE tcidrsv[8];
WORD tcibck;
};
/*
PCMCIA record structs
/*
record type 1 - start measurement
/*
contains date and channel table
typedef struct _tcrec1
{
BYTE Day;
BYTE Month;
BYTE Year;
BYTE MeasureType;
BYTE PosType;
/* != 0 means x-y coordinates */
WORD ChannelLow;
WORD ChannelHigh;
WORD BaseMHz;
WORD BaseKHz;
WORD Step;
BYTE RecType;
WORD Version;
BYTE Serial[6];
BYTE NumChannels;
}TCREC1;
/* record type 1 - start measurement */
/* record type 2 - reserved */
/* record type 3 - gps la,lo & rssi */
/* record type 4 - reserved */
/* record type 5 - end measurement */
/* record type 3a - no gps & rssi */
/* record type 3b - gps la,lo,alt & rssi */
/* record type 3c - gps la,lo,tim & rssi */
/* record type 3d - gps la,lo,tim,alt & rssi */
*/
*/
/* id field */
/* card size in 'PAGESIZ' pages */
/* next free page */
/* next free offset */
/* 8 unused bytes */
/* id block checksum */
*/
*/
*/
/* day
*/
/* month
*/
/* year
*/
/* rf measurement type
/* == 0 means user marker,odometer */
/* # of channels */
Page 33
*/
*/

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Fox and is the answer not in the manual?

Table of Contents