📄 pwm16_2int.asm
字号:
;------------------------------------------------------------------------------
; FILENAME: PWM16_2int.asm
; VERSION: Rev B, 2002 Mar 30
;------------------------------------------------------------------------------
; DESCRIPTION:
; Interrupt handler routine for PWM16 user module instance:
; PWM16_2.
;------------------------------------------------------------------------------
; Copyright (c) Cypress MicroSystems 2000-2002. All Rights Reserved.
;------------------------------------------------------------------------------
include "PWM16_2.inc"
include "m8c.inc"
;-----------------------------------------------------
; Export interrupt handler
; NOTE that interrupt handler is NOT exported
; for access by C function. Interrupt handlers
; are not callable by C functions.
;-----------------------------------------------------
export PWM16_2INT
;-----------------------------------------------------------------------------
; FUNCTION NAME: PWM16_2Int
;
; DESCRIPTION:
; PWM16 interrupt handler for instance PWM16_2.
;
; 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.
;
;-----------------------------------------------------------------------------
PWM16_2INT:
;--------------------------
; Place user code here!!!
;--------------------------
inc [te_second]
cmp [te_second],60
jnz end
mov [te_second],00
inc [te_minute]
cmp [te_minute],FFh
jnz end
mov [te_minute],00
end:
reti
; end of file
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -