intr.c

来自「WinCE 3.0 BSP, 包含Inter SA1110, Intel_815」· C语言 代码 · 共 100 行

C
100
字号
/*++
Copyright (c) 1997  Microsoft Corporation

Module Name:

    intr.c

Abstract:

    This program contains the interrupt dispatch routine

Author:

    Jun Liu 30-Aug-1991

Revision History:

    John Cooper (johncoop) 97-Oct-24: Port to LC2 platform

--*/


#include <windows.h>
#include <halether.h>

/*
**  CPU Timer Interrupt
*/
void __cdecl CPUTimerInterrupt()
{
   EdbgOutputDebugString( "Warning: CPU timer interrupt detected.\n\r" );
}


/*
**  External Interrupt 4
*/
void __cdecl ExternalInterrupt4()
{
   EdbgOutputDebugString( "Warning: External interrupt 4 (Diagnostic) detected.\n\r" );
}


/*
**  External Interrupt 3
*/
void __cdecl ExternalInterrupt3()
{
   EdbgOutputDebugString( "Warning: External interrupt 3 detected.\n\r" );
}


/*
**  External Interrupt 2
*/
void __cdecl ExternalInterrupt2()
{
   EdbgOutputDebugString( "Warning: External interrupt 2 detected.\n\r" );
}


/*
**  External Interrupt 1
*/
void __cdecl ExternalInterrupt1()
{
   EdbgOutputDebugString( "Warning: External interrupt 1 (Expansion) detected.\n\r" );
}


/*
**  External Interrupt 0
**
**  - This interrupt line is connected to Solo chip
**    Don't know what to do with it yet.
**
*/
void __cdecl ExternalInterrupt0()
{
   EdbgOutputDebugString( "Warning: External interrupt 0 (Solo) detected.\n\r" );
}


/*
**  Software Interrupt 1
*/
void __cdecl SoftwareInterrupt1()
{
   EdbgOutputDebugString( "Warning: Software interrupt 1 detected.\n\r" );
}


/*
**  Software Interrupt 0
*/
void __cdecl SoftwareInterrupt0()
{
   EdbgOutputDebugString( "Warning: Software interrupt 0 detected.\n\r" );
}

⌨️ 快捷键说明

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