📄 inthandler.c
字号:
/****************************************************************
KPIT Cummins Infosystems Ltd, Pune, India. - 05-Sept-2005.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*****************************************************************/
/*Include file for M16C/60 62A CPU */
#include "inthandler.h"
#include "iodefine.h"
#include "sema.h"
#include "hwtimers.h"
#include "mlibc.h"
void UndefinedInstruction_ISR(void)
{
/*add your code here*/
}
void Overflow_ISR(void)
{
/*add your code here*/
}
void BRK_Instruction_ISR(void)
{
/*add your code here*/
}
void AddressMatch_ISR(void)
{
/*add your code here*/
}
void SingleStep_ISR(void)
{
/*add your code here*/
}
void WatchdogTimer_ISR(void)
{
/*add your code here*/
}
void DBC_ISR(void)
{
/*add your code here*/
}
void NMI_ISR(void)
{
/*add your code here*/
}
void BRK_ISR(void)
{
/*add your code here*/
}
void INT3_ISR(void)
{
/*add your code here*/
}
void TimerB5_ISR(void)
{
/*add your code here*/
}
void TimerB4_ISR(void)
{
/*add your code here*/
}
void TimerB3_ISR(void)
{
/*add your code here*/
}
void SI04_INT5_ISR(void)
{
/*add your code here*/
}
void SI03_INT4_ISR(void)
{
/*add your code here*/
}
void BUS_COLLISION_ISR(void)
{
/*add your code here*/
}
void DMA0_ISR(void)
{
/*add your code here*/
}
void DMA1_ISR(void)
{
/*add your code here*/
}
void KeyInput_ISR(void)
{
/*add your code here*/
}
void AD_CONVERTER_ISR(void)
{
/*add your code here*/
}
void UART2_transmit_ISR(void)
{
/*add your code here*/
}
void UART2_recv_ISR(void)
{
/*add your code here*/
}
void UART0_transmit_ISR(void)
{
/*add your code here*/
}
void UART0_recv_ISR(void)
{
/*add your code here*/
}
void UART1_transmit_ISR(void)
{
/*add your code here*/
}
void UART1_recv_ISR(void)
{
/*add your code here*/
sema_set(UART1_RECV); /* set UART1 receive semaphore */
}
void TimerA0_ISR(void)
{
/*add your code here*/
sema_set(TIMER_SYSTEM); /* set TA0 timer semaphore */
}
void TimerA1_ISR(void)
{
/*add your code here*/
}
void TimerA2_ISR(void)
{
/*add your code here*/
}
void TimerA3_ISR(void)
{
/*add your code here*/
}
void TimerA4_ISR(void)
{
/*add your code here*/
}
void TimerB0_ISR(void)
{
/*add your code here*/
sema_set(TIMER_DELAY); /* set TB0 timer semaphore */
}
void TimerB1_ISR(void)
{
/*add your code here*/
}
void TimerB2_ISR(void)
{
/*add your code here*/
}
void INT0_ISR(void)
{
/*add your code here*/
}
void INT1_ISR(void)
{
/*add your code here*/
sema_set(INT1_SEM); /* set INT1 interrupt semaphore */
}
void INT2_ISR(void)
{
/*add your code here*/
}
void SoftwareInt32_ISR(void)
{
/*add your code here*/
}
void SoftwareInt33_ISR(void)
{
/*add your code here*/
}
void SoftwareInt34_ISR(void)
{
/*add your code here*/
}
void SoftwareInt35_ISR(void)
{
/*add your code here*/
}
void SoftwareInt36_ISR(void)
{
/*add your code here*/
}
void SoftwareInt37_ISR(void)
{
/*add your code here*/
}
void SoftwareInt38_ISR(void)
{
/*add your code here*/
}
void SoftwareInt39_ISR(void)
{
/*add your code here*/
}
void SoftwareInt40_ISR(void)
{
/*add your code here*/
}
void SoftwareInt41_ISR(void)
{
/*add your code here*/
}
void SoftwareInt42_ISR(void)
{
/*add your code here*/
}
void SoftwareInt43_ISR(void)
{
/*add your code here*/
}
void SoftwareInt44_ISR(void)
{
/*add your code here*/
}
void SoftwareInt45_ISR(void)
{
/*add your code here*/
}
void SoftwareInt46_ISR(void)
{
/*add your code here*/
}
void SoftwareInt47_ISR(void)
{
/*add your code here*/
}
void SoftwareInt48_ISR(void)
{
/*add your code here*/
}
void SoftwareInt49_ISR(void)
{
/*add your code here*/
}
void SoftwareInt50_ISR(void)
{
/*add your code here*/
}
void SoftwareInt51_ISR(void)
{
/*add your code here*/
}
void SoftwareInt52_ISR(void)
{
/*add your code here*/
}
void SoftwareInt53_ISR(void)
{
/*add your code here*/
}
void SoftwareInt54_ISR(void)
{
/*add your code here*/
}
void SoftwareInt55_ISR(void)
{
/*add your code here*/
}
void SoftwareInt56_ISR(void)
{
/*add your code here*/
}
void SoftwareInt57_ISR(void)
{
/*add your code here*/
}
void SoftwareInt58_ISR(void)
{
/*add your code here*/
}
void SoftwareInt59_ISR(void)
{
/*add your code here*/
}
void SoftwareInt60_ISR(void)
{
/*add your code here*/
}
void SoftwareInt61_ISR(void)
{
/*add your code here*/
}
void SoftwareInt62_ISR(void)
{
/*add your code here*/
}
void SoftwareInt63_ISR(void)
{
/*add your code here*/
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -