📄 rs_timerint.lis
字号:
0000 ;------------------------------------------------------------------------------
0000 ; FILENAME: Rs_Timerint.asm
0000 ; VERSION: Rev B, 2002 Mar 30
0000 ;------------------------------------------------------------------------------
0000 ; DESCRIPTION:
0000 ; Interrupt handler routine for Timer8 user module instance:
0000 ; Rs_Timer.
0000 ;------------------------------------------------------------------------------
0000 ; Copyright (c) Cypress MicroSystems 2000-2002. All Rights Reserved.
0000 ;------------------------------------------------------------------------------
0000
0008 bRs_Timer_INT_MASK: equ 08h
0000 ;timer8 interrupt address
00E1 Rs_Timer_INT_REG: equ 0e1h
0000
0000 ;---------------------------------
0000 ; Registers used by timer8
0000 ;---------------------------------
002F Rs_Timer_CONTROL_REG: equ 2fh ;Control register
002C Rs_Timer_COUNTER_REG: equ 2ch ;Counter register
002D Rs_Timer_PERIOD_REG: equ 2dh ;Period value register
002E Rs_Timer_COMPARE_REG: equ 2eh ;CompareValue register
002C Rs_Timer_FUNC_REG: equ 2ch ;Function register
002D Rs_Timer_INPUT_REG: equ 2dh ;Input register
002E Rs_Timer_OUTPUT_REG: equ 2eh ;Output register
0000
0000 ; end of file
0000
0000
area text (ROM, REL)
;-----------------------------------------------------
; Export interrupt handler
; NOTE that interrupt handler is NOT exported
; for access by C function. Interrupt handlers
; are not callable by C functions.
;-----------------------------------------------------
export Rs_TimerINT
;-----------------------------------------------------------------------------
; FUNCTION NAME: Rs_TimerInt
;
; DESCRIPTION:
; Timer8 interrupt handler for instance Rs_Timer.
;
; 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 Rs_TimerINT:
0000 ;--------------------------
0000 ; Place user code here!!!
0000 ;--------------------------
0000 7E reti
0001
0001
0001 ; end of file
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -