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

📄 inthandler.c

📁 基于瑞萨 M16C 的最新版本 IIC 通信
💻 C
字号:
/*
 * Copyright (c) 2007 EISLAB - Lulea University of Technology.
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without modification,
 * are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice,
 *    this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright notice,
 *    this list of conditions and the following disclaimer in the documentation
 *    and/or other materials provided with the distribution.
 * 3. The name of the author may not be used to endorse or promote products
 *    derived from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
 * SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
 * OF SUCH DAMAGE.
 *
 * This file is part of the eisplatform project.
 *
 */

/**
 *  The only function implemented in the following code is INT1_ISR() and it sets 
 *  the semaphore on interrupt. 
*/

#include "hardware.h"
#include "inthandler.h"
#include "sema.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)
{
	int i;
	extern debounce;
	
	if (!debounce) {
		debounce = 1;
		sema_set(INT4_SEM);			// Signal semaphore
		for (i = 0; i < 5000; i++);
		debounce = 0;
	}
	
}*/
//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*/
//}
/*void TimerA0_ISR(void)
{
	extern int_nr;

	if (int_nr % 4 == 0)
		sema_set(TIMER_SEM);
	int_nr = int_nr + 1;
	
}*/
//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*/
}
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*/
}
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 + -