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

📄 csl_tsc.asm

📁 Dm6455 driver,magbe useful to you!
💻 ASM
字号:
*****************************************************************************
*   Copyright (c) Texas Instruments Inc 2002, 2003, 2004,2005
*
*   Use of this software is controlled by the terms and conditions found
*   in the license agreement under which this software has been supplied
*   provided
*****************************************************************************

****************************************************************************
*   @file  csl_tsc.asm
*
*   @path  $(CSLPATH)\src\tsc
*
*   @desc  Assembly file for functional layer of TSC CSL
****************************************************************************

    .global _CSL_tscEnable  
    .sect ".text:cslsys_section:tsc"

_CSL_tscEnable:
        BNOP            B3, 4           ; 
        MVC             A4,     TSCL    ; Initiate CPU Timer by writing to TSCL 

    .global _CSL_tscRead
    .sect ".text:cslsys_section:tsc"
_CSL_tscRead:
         BNOP    B3,     2       ; Branch Return Pointer
        MVC     TSCL,   B0      ; Read TSCL
        MVC     TSCH,   B1      ; Read TSCH
	||  MV      B0, A4
        MV      B1, A5

            

⌨️ 快捷键说明

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