reader.h File Reference

Reader Header File. More...

Go to the source code of this file.

Data Structures

struct  BC_STRUCT
 Barcode sample/decode context. More...

Enumerations

enum  {
  NO_DATA, CODE39_DATA, CODABAR_DATA, CODEI25_DATA,
  MAG1_DATA, MAG2_DATA, MAG3_DATA, PROX_DATA
}

Functions

void reader1_init (void)
void reader2_init (void)
void barcodeSample (struct BC_STRUCT *p, unsigned int count)
 General purpose barcode sampling.
void magstripeSample (struct BC_STRUCT *p, unsigned char value)
void wiegandSample (struct BC_STRUCT *p, unsigned char value)
void barcodeOverflow (struct BC_STRUCT *p)
 Barcode sample overflow.
void magstripeOverflow (struct BC_STRUCT *p)
void wiegandOverflow (struct BC_STRUCT *p)
unsigned short barcode_decode (struct BC_STRUCT *p)
unsigned short Decode39 (struct BC_STRUCT *p)
unsigned short DecodeCodabar (struct BC_STRUCT *p)
unsigned short DecodeI25 (struct BC_STRUCT *p, unsigned char len)
unsigned short wiegand_decode (struct BC_STRUCT *p)
unsigned short DecodeWiegand (struct BC_STRUCT *p, struct prox_cfg_struct *w)

Variables

unsigned char symbol
unsigned char DecodeBarcodeReady0
unsigned char DecodeBarcodeReady1
unsigned char DecodeMagstripeReady0
unsigned char DecodeMagstripeReady1
unsigned char DecodeWiegandReady0
unsigned char DecodeWiegandReady1
struct BC_STRUCT Reader0
struct BC_STRUCT Reader1


Detailed Description

Reader Header File.

This file contains the prototypes for Barcode sample and decode and eventually prototypes for Mag-Stripe, Prox, and smart card.

Author:
John Dybowski <jdybowski@EmbeddedSoftwareEngineering.com>

Definition in file reader.h.

Download Source Code