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

📄 timerisr.s

📁 RTEMS (Real-Time Executive for Multiprocessor Systems) is a free open source real-time operating sys
💻 S
字号:
/*  timer_isr() * *  This routine provides the ISR for the PCC timer on the MVME147 *  board.   The timer is set up to generate an interrupt at maximum *  intervals. * *  MVME147 port for TNI - Telecom Bretagne *  by Dominique LE CAMPION (Dominique.LECAMPION@enst-bretagne.fr) *  May 1996 * *  $Id: timerisr.S,v 1.1 1998/12/14 23:15:08 joel Exp $ */#include "asm.h"BEGIN_CODE.set T1_CONTROL_REGISTER,  0xfffe1018    | timer 1 control register        PUBLIC (timerisr)SYM (timerisr):	orb	#0x80, T1_CONTROL_REGISTER | clear T1 int status bit        addql   #1, SYM (Ttimer_val)     | increment timer valueend_timerisr:	rte	END_CODEEND

⌨️ 快捷键说明

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