📄 rx_232int.lis
字号:
0000 ;------------------------------------------------------------------------------
0000 ; FILENAME: Rx_232int.asm
0000 ; VERSION: Rev B, 2002 Mar 30
0000 ;------------------------------------------------------------------------------
0000 ; DESCRIPTION:
0000 ; Interrupt handler routine for RX8 user module instance:
0000 ; Rx_232.
0000 ;------------------------------------------------------------------------------
0000 ; Copyright (c) Cypress MicroSystems 2000-2002. All Rights Reserved.
0000 ;------------------------------------------------------------------------------
0000
0010 bRx_232_INT_MASK: equ 10h
0000 ;RX8 interrupt address
00E1 Rx_232_INT_REG: equ 0e1h
0000
0000 ;------------------------------------
0000 ; RX8 Parity masks
0000 ;------------------------------------
0000 RX8_PARITY_NONE: equ 0h
0002 RX8_PARITY_EVEN: equ 2h
0006 RX8_PARITY_ODD: equ 6h
0000
0000 ;------------------------------------
0000 ; RX8 Status Register masks
0000 ;------------------------------------
0000
0010 RX8_RX_ACTIVE: equ 10h
0008 RX8_RX_COMPLETE: equ 08h
0080 RX8_RX_PARITY_ERROR: equ 80h
0040 RX8_RX_OVERRUN_ERROR: equ 40h
0020 RX8_RX_FRAMING_ERROR: equ 20h
00E0 RX8_RX_NO_ERROR: equ E0h
0000
0000 ;---------------------------------
0000 ; Registers used by RX8
0000 ;---------------------------------
0033 Rx_232_CONTROL_REG: equ 33h ;Control register
0030 Rx_232_RX_SHIFT_REG: equ 30h ;RX Shift Register register
0032 Rx_232_RX_BUFFER_REG: equ 32h ;RX Buffer Register
0030 Rx_232_FUNC_REG: equ 30h ;Function register
0031 Rx_232_INPUT_REG: equ 31h ;Input register
0032 Rx_232_OUTPUT_REG: equ 32h ;Output register
0000
0000 ; end of file
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 Rx_232INT
;-----------------------------------------------------------------------------
; FUNCTION NAME: Rx_232Int
;
; DESCRIPTION:
; RX8 interrupt handler for instance Rx_232.
;
; 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 Rx_232INT:
0000 ;--------------------------
0000 ; Place user code here!!!
0000 ;--------------------------
0000 7E reti
0001
0001
0001 ; end of file
0001
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -