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

📄 int_3062p.c

📁 M16C interrupt settings and Initial code setting for HEW4 for renesas M16c...I coded and optimized.
💻 C
📖 第 1 页 / 共 2 页
字号:
/**************************************************************************/
/**************************************************************************/
/****************** Renesas Technology Europe GmbH ************************/
/**************************************************************************/
/**************************************************************************/
/*  DISCLAIMER:                                                           */
/*  We (Renesas Technology Europe GmbH) 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.                                                   */
/**************************************************************************/
/**************************************************************************/
/*                                                                        */
/*  Name:        int_3062P.c                                              */
/*  Description: Interrupt vectors for the M16C/62P                       */
/*  Date:        17.04.2003                                               */
/*  Author:      BWE @ Renesas Technology Europe GmbH                     */
/*  Change:      (Date)  (Author)  (Description)                          */
/*                                                                        */
/*                                                                        */
/**************************************************************************/
    
/*
#define EXTERN extern
#include    "sfr62P.h"
#undef EXTERN

#define EXTERN 
#include    "int_3062P.h"
#undef EXTERN
*/
/* Fixed interrupt table **************************************************/

/**************************************************************************/
/*       Dummy Interrupt routine                                          */
/*       for dummy purpose                                                */
/**************************************************************************/
__interrupt void dummy_int (void)
{
  /* Add code here */
    software_reset ();
}

/**************************************************************************/
/*       Interrupt routine                                                */
/*       for undefined instruction                                        */
/**************************************************************************/
__interrupt void __undefined_instruction_handler (void)
{
  /* Add code here */
    software_reset ();
}

/**************************************************************************/
/*       Interrupt routine                                                */
/*       for overflow                                                     */
/**************************************************************************/
__interrupt void __overflow_handler (void)
{
  /* Add code here */
    software_reset ();
}

/**************************************************************************/
/*       Interrupt routine                                                */
/*       for break instruction                                            */
/**************************************************************************/
__interrupt void __break_instruction_handler (void)
{
  /* Add code here */
    software_reset ();
}

/**************************************************************************/
/*       Interrupt routine                                                */
/*       for address match                                                */
/**************************************************************************/
__interrupt void __address_match_handler (void)
{
  /* Add code here */
    software_reset ();
}

/**************************************************************************/
/*       Interrupt routine                                                */
/*       for single step                                                  */
/**************************************************************************/
__interrupt void __single_step_handler (void)
{
  /* Add code here */
    software_reset ();
}

/**************************************************************************/
/*       Interrupt routine                                                */
/*       for watchdog timer                                               */
/**************************************************************************/
__interrupt void __watchdog_timer_handler (void)
{
  /* Add code here */
    software_reset (); 
}

/**************************************************************************/
/*       Interrupt routine                                                */
/*       for DBC interrupt                                                */
/**************************************************************************/
__interrupt void __DBC_handler (void)
{
  /* Add code here */
    software_reset ();
}

/**************************************************************************/
/*       Interrupt routine                                                */
/*       for non mask interrupt                                           */
/**************************************************************************/
__interrupt void __NMI_handler (void)
{
  /* Add code here */
    software_reset ();
}

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

/**************************************************************************/
/*        Interrupt routine                                               */
/*        for BRK instruction interrupt                                   */
/**************************************************************************/
__interrupt void  BRK_interrupt (void)
{
  /* Add code here */
    software_reset ();
}

/**************************************************************************/
/*       Interrupt routine                                                */
/*       for INT3 interrupt                                               */
/**************************************************************************/
__interrupt void  int3_interrupt (void)
{ 
  /* Add code here */
    software_reset ();
}

/**************************************************************************/
/*       Interrupt routine                                                */
/*       for TimerB5 interrupt                                            */
/**************************************************************************/
__interrupt void  timer_b5_interrupt (void)
{
  /* Add code here */
    software_reset ();
}

/**************************************************************************/
/*        Interrupt routine                                               */
/*        for TimerB4 and Uart1 bus collision interrupt                   */
/**************************************************************************/
__interrupt void  timer_b4_uart1_bus_collision_interrupt (void)
{ 
  /* Add code here */
    software_reset ();
} 

/**************************************************************************/
/*        Interrupt routine                                               */
/*        for TimerB3 and Uart0 bus collision interrupt                   */
/**************************************************************************/
__interrupt void  timer_b3_uart0_bus_collision_interrupt (void)
{ 
  /* Add code here */
    software_reset ();
}

/**************************************************************************/
/*       Interrupt routine                                                */
/*       for SIO4 and INT5 interrupt                                      */
/**************************************************************************/
__interrupt void  sio4_int5_interrupt (void)
{
  /* Add code here */
    software_reset ();
}

/**************************************************************************/
/*       Interrupt routine                                                */
/*       for SIO3 and INT4 interrupt                                      */
/**************************************************************************/
__interrupt void  sio3_int4_interrupt (void)
{ 
  /* Add code here */
    software_reset ();
}

/**************************************************************************/
/*       Interrupt routine                                                */
/*       for UART2 bus collision interrupt                                */
/**************************************************************************/
__interrupt void  uart2_bus_collision_interrupt (void)
{ 
  /* Add code here */
    software_reset ();
}

/**************************************************************************/
/*        Interrupt routine                                               */
/*        for DMA 0 interrupt                                             */
/**************************************************************************/
__interrupt void  dma0_interrupt (void)
{ 
  /* Add code here */
    software_reset ();
}

/**************************************************************************/
/*        Interrupt routine                                               */
/*        for DMA 1 interrupt                                             */
/**************************************************************************/
__interrupt void  dma1_interrupt (void)
{ 
  /* Add code here */
    software_reset ();

⌨️ 快捷键说明

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