 0000           ;------------------------------------------------------------------------------
 0000           ;  FILENAME:   Timer32_1int.asm
 0000           ;   VERSION:   Rev B, 2002 Mar 30
 0000           ;------------------------------------------------------------------------------
 0000           ;  DESCRIPTION:
 0000           ;     Interrupt handler routine for Timer32 user module instance:
 0000           ;        Timer32_1.
 0000           ;------------------------------------------------------------------------------
 0000           ;       Copyright (c) Cypress MicroSystems 2000-2002.  All Rights Reserved.
 0000           ;------------------------------------------------------------------------------
 0000           
 0008           bTimer32_1_INT_MASK:     equ   08h
 00E1           Timer32_1_INT_REG:	      equ   0e1h
 0000           
 0000           ;---------------------------------
 0000           ;  Registers used by Timer32
 0000           ;---------------------------------
 0023           Timer32_1_CONTROL_LSB_REG:  equ 23h              ;Control register LSB
 0027           Timer32_1_CONTROL_ISB1_REG: equ 27h              ;Control register ISB1
 002B           Timer32_1_CONTROL_ISB2_REG: equ 2bh              ;Control register ISB2
 002F           Timer32_1_CONTROL_MSB_REG:  equ 2fh              ;Control register MSB
 0020           Timer32_1_COUNTER_LSB_REG:  equ 20h              ;Counter register LSB
 0024           Timer32_1_COUNTER_ISB1_REG: equ 24h              ;Counter register ISB1
 0028           Timer32_1_COUNTER_ISB2_REG: equ 28h              ;Counter register ISB2
 002C           Timer32_1_COUNTER_MSB_REG:  equ 2ch              ;Counter register MSB
 0021           Timer32_1_PERIOD_LSB_REG:   equ 21h              ;Period register LSB
 0025           Timer32_1_PERIOD_ISB1_REG:  equ 25h              ;Period register ISB1
 0029           Timer32_1_PERIOD_ISB2_REG:  equ 29h              ;Period register ISB2
 002D           Timer32_1_PERIOD_MSB_REG:   equ 2dh              ;Period register MSB
 0022           Timer32_1_COMPARE_LSB_REG:  equ 22h              ;CompareValue register LSB
 0026           Timer32_1_COMPARE_ISB1_REG: equ 26h              ;CompareValue register ISB1
 002A           Timer32_1_COMPARE_ISB2_REG: equ 2ah              ;CompareValue register ISB2
 002E           Timer32_1_COMPARE_MSB_REG:  equ 2eh              ;CompareValue register MSB
 0020           Timer32_1_FUNC_LSB_REG: equ 20h                  ;Function register LSB
 0024           Timer32_1_FUNC_ISB1_REG:    equ 24h              ;Function register ISB1
 0028           Timer32_1_FUNC_ISB2_REG:    equ 28h              ;Function register ISB2
 002C           Timer32_1_FUNC_MSB_REG: equ 2ch                  ;Function register MSB
 0021           Timer32_1_INPUT_LSB_REG:    equ 21h              ;Input register LSB
 0025           Timer32_1_INPUT_ISB1_REG:   equ 25h              ;Input register ISB1
 0029           Timer32_1_INPUT_ISB2_REG:   equ 29h              ;Input register ISB2
 002D           Timer32_1_INPUT_MSB_REG:    equ 2dh              ;Input register MSB
 0022           Timer32_1_OUTPUT_LSB_REG:   equ 22h              ;Output register LSB
 0026           Timer32_1_OUTPUT_ISB1_REG:  equ 26h              ;Output register ISB1
 002A           Timer32_1_OUTPUT_ISB2_REG:  equ 2ah              ;Output register ISB2
 002E           Timer32_1_OUTPUT_MSB_REG:   equ 2eh              ;Output register MSB
 0000           
 0000           ; end of file
                AREA bss(RAM)
 0000                   _done:  BLK 1
 0001                   
                AREA text(ROM)
                
                ;-----------------------------------------------------
                ;  Export interrupt handler
                ;     NOTE that interrupt handler is NOT exported
                ;     for access by C function.  Interrupt handlers
                ;     are not callable by C functions.
                ;-----------------------------------------------------
                export  _done
                export   Timer32_1INT
                
                ;-----------------------------------------------------------------------------
                ;  FUNCTION NAME: Timer32_1Int
                ;
                ;  DESCRIPTION:
                ;     Timer32 interrupt handler for instance Timer32_1.  
                ;
                ;     This is a place holder function.  If the user requires use of an interrupt
                ;     handler for this function, then place code where specified.
                ;
                ;  ARGUMENTS:
                ;     none.
                ;
                ;  RETURNS:
                ;     none.
                ;
                ;  SIDE EFFECTS:
                ;     none.
                ;
                ;  THEORY of OPERATION:  
                ;     none.
                ;
                ;-----------------------------------------------------------------------------
 0000           Timer32_1INT:
 0000 550001            mov [_done], 01h
 0003 9000         call Timer32_1_Stop
 0005 7E           reti
 0006                   
 0006           
 0006           ; end of file
 0006           
 0006                   
