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

📄 tx8_1int.lis

📁 Application Note Abstract This Application Note introduces a complete and detailed PSoC&reg project
💻 LIS
字号:
 0000           ;------------------------------------------------------------------------------
 0000           ;  FILENAME:   TX8_1int.asm
 0000           ;   VERSION:   Rev B, 2002 May 24
 0000           ;------------------------------------------------------------------------------
 0000           ;  DESCRIPTION:
 0000           ;     Interrupt handler routine for TX8 user module instance:
 0000           ;        TX8_1.
 0000           ;------------------------------------------------------------------------------
 0000           ;       Copyright (c) Cypress MicroSystems 2000-2002.  All Rights Reserved.
 0000           ;------------------------------------------------------------------------------
 0000           
 0080           bTX8_1_INT_MASK:        equ 80h  
 0000           ;TX8 interrupt address
 00E1           TX8_1_INT_REG:          equ 0e1h  
 0000           
 0000           ;------------------------------------
 0000           ;  Transmitter Parity masks
 0000           ;------------------------------------
 0000           TX8_PARITY_NONE:           equ   00h
 0002           TX8_PARITY_EVEN:           equ   02h
 0006           TX8_PARITY_ODD:            equ   06h
 0000           
 0000           ;------------------------------------
 0000           ;  Transmitter Status Register masks
 0000           ;------------------------------------
 0020           TX8_TX_COMPLETE:           equ   20h
 0010           TX8_TX_BUFFER_EMPTY:       equ   10h
 0000           
 0000           ;---------------------------------
 0000           ;  Registers used by TX8
 0000           ;---------------------------------
 003F           TX8_1_CONTROL_REG:  equ 3fh                      ;Control register
 003C           TX8_1_TX_SHIFT_REG: equ 3ch                      ;TX Shift Register register
 003D           TX8_1_TX_BUFFER_REG:    equ 3dh                  ;TX Buffer Register
 003C           TX8_1_FUNC_REG: equ 3ch                          ;Function register
 003D           TX8_1_INPUT_REG:    equ 3dh                      ;Input register
 003E           TX8_1_OUTPUT_REG:   equ 3eh                      ;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   TX8_1INT
                
                ;-----------------------------------------------------------------------------
                ;  FUNCTION NAME: TX8_1Int
                ;
                ;  DESCRIPTION:
                ;     TX8 interrupt handler for instance TX8_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           TX8_1INT:
 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 + -