//*****************************************************************************
//*****************************************************************************
//  FILENAME: QP1INV.h
//   Version: 1.4, Updated on 2004/10/27 at 18:25:19
//  Generated by PSoC Designer ver 4.2  b1013 : 02 September, 2004
//
//  DESCRIPTION:
//    QP1INV DigInverter User Module header file.
//-----------------------------------------------------------------------------
//      Copyright (c) Cypress MicroSystems 2002-2004. All Rights Reserved.
//*****************************************************************************
//*****************************************************************************
#include <m8c.h>

/* Create pragmas to support proper argument and return value passing */
#pragma fastcall16  QP1INV_EnableInt
#pragma fastcall16  QP1INV_DisableInt
#pragma fastcall16  QP1INV_Start
#pragma fastcall16  QP1INV_Stop

//-------------------------------------------------
// Prototypes of the QP1INV API.
//-------------------------------------------------
extern void  QP1INV_EnableInt(void);           // Proxy Class 1
extern void  QP1INV_DisableInt(void);          // Proxy Class 1
extern void  QP1INV_Start(void);               // Proxy Class 1
extern void  QP1INV_Stop(void);                // Proxy Class 1

//-------------------------------------------------
// Hardware Register Definitions
//-------------------------------------------------
#pragma ioport  QP1INV_CONTROL_REG: 0x05b
BYTE            QP1INV_CONTROL_REG;                        //Control register
#pragma ioport  QP1INV_COUNTER_REG: 0x058
BYTE            QP1INV_COUNTER_REG;                        //Counter register
#pragma ioport  QP1INV_PERIOD_REG:  0x059
BYTE            QP1INV_PERIOD_REG;                         //Period value register
#pragma ioport  QP1INV_COMPARE_REG: 0x05a
BYTE            QP1INV_COMPARE_REG;                        //CompareValue register
#pragma ioport  QP1INV_FUNC_REG:    0x158
BYTE            QP1INV_FUNC_REG;                           //Function register
#pragma ioport  QP1INV_INPUT_REG:   0x159
BYTE            QP1INV_INPUT_REG;                          //Input register
#pragma ioport  QP1INV_OUTPUT_REG:  0x15a
BYTE            QP1INV_OUTPUT_REG;                         //Output register

// end of file QP1INV.h
