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

📄 intr.h

📁 RTEMS (Real-Time Executive for Multiprocessor Systems) is a free open source real-time operating sys
💻 H
字号:
/* *  COPYRIGHT (c) 1989-1999. *  On-Line Applications Research Corporation (OAR). * *  The license and distribution terms for this file may be *  found in the file LICENSE in this distribution or at *  http://www.rtems.com/license/LICENSE. * *  $Id: intr.h,v 1.2.6.1 2003/09/04 18:46:51 joel Exp $ */#ifndef __ITRON_INTERRUPT_h_#define __ITRON_INTERRUPT_h_#ifdef __cplusplusextern "C" {#endif/* *  Define Interrupt (def_int) Structure */typedef struct t_dint {  ATR   intatr;   /* interrupt handler attributes */  FP    inthdr;   /* interrupt handler address */  /* additional information may be included depending on the implementation */} T_DINT;/* *  Interrupt Functions *//* *  def_int - Define Interrupt Handler */ER def_int(  UINT dintno,  T_DINT *pk_dint);/* *  ret_int - Return from Interrupt Handler */void ret_int( void );/* *  ret_wup - Return and Wakeup Task */void ret_wup(  ID tskid);/* *  loc_cpu - Lock CPU */ER loc_cpu( void );/* *  unl_cpu - Unlock CPU */ER unl_cpu( void );/* *  dis_int - Disable Interrupt */ER dis_int(  UINT eintno);/* *  ena_int - Enable Interrupt  */ER ena_int(  UINT eintno);/* *  chg_iXX - Change Interrupt Mask(Level or Priority) */ER chg_iXX(  UINT iXXXX);/* *  ref_iXX - Reference Interrupt Mask(Level or Priority) */ER ref_iXX(  UINT *p_iXXXX);#ifdef __cplusplus}#endif#endif/* end of include file */

⌨️ 快捷键说明

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