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

📄 copie de interrpt.c

📁 瑞萨单片机LCD控制
💻 C
📖 第 1 页 / 共 3 页
字号:
/**************************************************************************/
/**MITSUBISHI**MITSUBISHI**MITSUBISHI**MITSUBISHI**MITSUBISHI**MITSUBISHI**/
/**************************************************************************/
/**************************************************************************/
/*  DISCLAIMER:                                                           */
/*  We (MITSUBISHI ELECTRIC B.V.) do not warrant that the Software is     */
/*  free from claims by a third party of copyright, patent, trademark,    */
/*  trade secret or any other intellectual property infringement.         */
/*                                                                        */
/*  Under no circumstances are we liable for any of the following:        */
/*                                                                        */
/*  1. third-party claims against you for losses or damages;              */
/*  2. loss of, or damage to, your records or data; or                    */
/*  3. economic consequential damages (including lost profits or          */
/*     savings) or incidental damages, even if we are informed of         */
/*     their possibility.                                                 */
/*                                                                        */
/*  We do not warrant uninterrupted or error free operation of the        */
/*  Software. We have no obligation to provide service, defect            */
/*  correction, or any maintenance for the Software. We have no           */
/*  obligation to supply any Software updates or enhancements to you      */
/*  even if such are or later become available.                           */
/*                                                                        */
/*  IF YOU DOWNLOAD OR USE THIS SOFTWARE YOU AGREE TO THESE TERMS.        */
/*                                                                        */
/*  THERE ARE NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING THE            */
/*  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A               */
/*  PARTICULAR PURPOSE.                                                   */
/**************************************************************************/
/**************************************************************************/
/*     This Modul containts the interrupt-prototypes for the m3060        */
/*                                                                        */
/*       Name         :      INTERRPT.C                                   */
/*       Date/Author  :      21.04.1997/GA                                */
/*       Change       :                                                   */
/*               (Date)  (Author)  (Description)                          */
/*                                                                        */
/**************************************************************************/

#define public extern
#include    <intm16c.h>
#include    <intrm16c.h>
#include    "sfr_3061.h"
#include    "timer_a.h"
#include    "dma.h"
#include    "General.h"
#undef public

#define public 
#undef public


/* Fixed interrupt table **************************************************/
/**************************************************************************/
/*                                                                        */
/*       Interrupt routine                                                */
/*       for undefined instruction                                        */
/*                                                                        */
/*       Name         :      __undefined_instruction_handler              */
/*       Date/Author  :      10.04.1997/GA                                */
/*       Parameter    :                                                   */
/*       Return       :                                                   */
/*                                                                        */
/**************************************************************************/
interrupt void __undefined_instruction_handler (void)
{
  /* Add code here */
}

/**************************************************************************/
/*                                                                        */
/*       Interrupt routine                                                */
/*       for overflow                                                     */
/*                                                                        */
/*       Name         :      __overflow_handler                           */
/*       Date/Author  :      10.04.1997/GA                                */
/*       Parameter    :                                                   */
/*       Return       :                                                   */
/*                                                                        */
/**************************************************************************/
interrupt void __overflow_handler (void)
{
  /* Add code here */
}

/**************************************************************************/
/*                                                                        */
/*       Interrupt routine                                                */
/*       for break instruction                                            */
/*                                                                        */
/*       Name         :      __break_instruction_handler                  */
/*       Date/Author  :      10.04.1997/GA                                */
/*       Parameter    :                                                   */
/*       Return       :                                                   */
/*                                                                        */
/**************************************************************************/
interrupt void __break_instruction_handler (void)
{
  /* Add code here */
}

/**************************************************************************/
/*                                                                        */
/*       Interrupt routine                                                */
/*       for address match                                                */
/*                                                                        */
/*       Name         :      __address_match_handler                      */
/*       Date/Author  :      10.04.1997/GA                                */
/*       Parameter    :                                                   */
/*       Return       :                                                   */
/*                                                                        */
/**************************************************************************/
interrupt void __address_match_handler (void)
{
  /* Add code here */
}


/**************************************************************************/
/*                                                                        */
/*       Interrupt routine                                                */
/*       for single step                                                  */
/*                                                                        */
/*       Name         :      __single_step_handler                        */
/*       Date/Author  :      10.04.1997/GA                                */
/*       Parameter    :                                                   */
/*       Return       :                                                   */
/*                                                                        */
/**************************************************************************/
interrupt void __single_step_handler (void)
{
  /* Add code here */
}


/**************************************************************************/
/*                                                                        */
/*       Interrupt routine                                                */
/*       for watchdog timer                                               */
/*                                                                        */
/*       Name         :      __watchdog_timer_handler                     */
/*       Date/Author  :      10.04.1997/GA                                */
/*       Parameter    :                                                   */
/*       Return       :                                                   */
/*                                                                        */
/**************************************************************************/
interrupt void __watchdog_timer_handler (void)
{
  /* Add code here */
}


/**************************************************************************/
/*                                                                        */
/*       Interrupt routine                                                */
/*       for DBC                                                          */
/*                                                                        */
/*       Name         :      __DBC_handler                                */
/*       Date/Author  :      10.04.1997/GA                                */
/*       Parameter    :                                                   */
/*       Return       :                                                   */
/*                                                                        */
/**************************************************************************/
interrupt void __DBC_handler (void)
{
  /* Add code here */
}


/**************************************************************************/
/*                                                                        */
/*       Interrupt routine                                                */
/*       for non mask interrupt                                           */
/*                                                                        */
/*       Name         :      __NMI_handler                                */
/*       Date/Author  :      10.04.1997/GA                                */
/*       Parameter    :                                                   */
/*       Return       :                                                   */
/*                                                                        */
/**************************************************************************/
interrupt void __NMI_handler (void)
{
  /* Add code here */
}


/* Variable interrupt table **************************************************/

/**************************************************************************/
/*                                                                        */
/*       BRK instruction interrupt routine                                */
/*       routine must be adapted to the user's needs                      */
/*       The program is executed from the address shown in this table,    */
/*       when the contents of the fixed vector address 0xFFFE4 to 0xFFFE7 */
/*       are all 0xFF.                                                    */
/*       Name         :      BRK_interrupt                                */
/*       Date/Author  :      10.04.1997/GA                                */
/*       Parameter    :                                                   */
/*       Return       :                                                   */
/*                                                                        */
/**************************************************************************/
/* Interrupt with using the register bank switch */
interrupt [00] using [ALTERNATE_SET] void near BRK_interrupt (void)
/* Interrupt without using the register bank switch */
//interrupt [00] void near BRK_interrupt (void)
{
  /* Add code here */
}

/**************************************************************************/
/*                                                                        */
/*       DMA interrupt routine                                            */
/*       Name         :      dma0_interrupt                               */
/*       Date/Author  :      10.04.1997/GA                                */
/*       Parameter    :                                                   */
/*       Return       :                                                   */
/*                                                                        */
/**************************************************************************/
/* Interrupt with using the register bank switch */
interrupt [44] using [ALTERNATE_SET] void near dma0_interrupt (void)
/* Interrupt without using the register bank switch */
//interrupt [44] void near dma0_interrupt (void)
{ 
  /* Add code here */
#ifdef SAMPLE_X5
    dma1_start ();
#endif /* SAMPLE_X5 */
}

/**************************************************************************/
/*                                                                        */

⌨️ 快捷键说明

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