⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rx8_1int.lis

📁 Application Note Abstract This Application Note introduces a complete and detailed PSoC&reg project
💻 LIS
字号:
 0000           ;------------------------------------------------------------------------------
 0000           ;  FILENAME:   RX8_1int.asm
 0000           ;   VERSION:   Rev B, 2002 Mar 30
 0000           ;------------------------------------------------------------------------------
 0000           ;  DESCRIPTION:
 0000           ;     Interrupt handler routine for RX8 user module instance:
 0000           ;        RX8_1.
 0000           ;------------------------------------------------------------------------------
 0000           ;       Copyright (c) Cypress MicroSystems 2000-2002.  All Rights Reserved.
 0000           ;------------------------------------------------------------------------------
 0000           
 0040           bRX8_1_INT_MASK:        equ 40h  
 0000           ;RX8 interrupt address
 00E1           RX8_1_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           ;---------------------------------
 003B           RX8_1_CONTROL_REG:  equ 3bh                      ;Control register
 0038           RX8_1_RX_SHIFT_REG: equ 38h                      ;RX Shift Register register
 003A           RX8_1_RX_BUFFER_REG:    equ 3ah                  ;RX Buffer Register
 0038           RX8_1_FUNC_REG: equ 38h                          ;Function register
 0039           RX8_1_INPUT_REG:    equ 39h                      ;Input register
 003A           RX8_1_OUTPUT_REG:   equ 3ah                      ;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   RX8_1INT
                
                ;-----------------------------------------------------------------------------
                ;  FUNCTION NAME: RX8_1Int
                ;
                ;  DESCRIPTION:
                ;     RX8 interrupt handler for instance RX8_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           RX8_1INT:
 0000             
 0000 40          nop
 0001              ;--------------------------
 0001              ; Place user code here!!!
 0001              ;--------------------------
 0001 7E           reti
 0002                   
 0002           
 0002           ; end of file
 0002                   

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -