?? stm32f10x_it.c
字號(hào):
/****************************Copyright (c)*********************************************
*
* (c) Copyright 2006-2008, hui lian. luo, china, zj. hz
* All Rights Reserved
*
* 深圳市英蓓特信息技術(shù)有限公司
* http://www.embedinfo.com
* 博格達(dá)科技有限公司
* http://www.bogodtech.com
*
*---------- File Info ---------------------------------------------------------------
* File name: stm32f10x_it.c
* Created By: 羅輝聯(lián)(armgcc@foxmail.com lhlzjut@hotmail.com)
* Created date: 2007.11.28
* Descriptions: Main Interrupt Service Routines.
* -This file can be used to describe all the exceptions
* -subroutines that may occur within user application.
* -When an interrupt happens, the software will branch
* -automatically to the corresponding routine.
* -The following routines are all empty, user can write code
* -for exceptions handlers and peripherals IRQ interrupts.
* Adviser: 樓東武(professor) 浙江大學(xué)信電系
*
*---------- History Info -------------------------------------------------------------
* Version: Ver1.0
* Descriptions: Create Initilze file
*
*-------------------------------------------------------------------------------------
**************************************************************************************/
/* Includes ------------------------------------------------------------------*/
#include "stm32f10x_it.h"
#include "config.h"
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
vu32 wdg_clr_flag = 1;
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/
extern vu16 ADC_SampleValue[2];
/*******************************************************************************
* Function Name : SysTickHandler
* Description : This function handles SysTick Handler.
* Input : None
* Return : None
* Created By : 羅輝聯(lián)(armgcc@foxmail.com lhlzjut@hotmail.com)
* Created date : 2007.11.28
*-------------------------------------------------------------------------------
*******************************************************************************/
void SysTickHandler(void)
{
OS_ENTER_CRITICAL(); /* Tell uC/OS-II that we are starting an ISR */
OSIntNesting++;
OS_EXIT_CRITICAL();
OSTimeTick(); /* Call uC/OS-II's OSTimeTick() */
OSIntExit(); /* Tell uC/OS-II that we are leaving the ISR */
}
/*******************************************************************************
* Function Name : WWDG_IRQHandler
* Description : This function handles WWDG interrupt request.
* Input : None
* Return : None
* Created By : 羅輝聯(lián)(armgcc@foxmail.com lhlzjut@hotmail.com)
* Created date : 2007.11.28
*-------------------------------------------------------------------------------
*******************************************************************************/
void WWDG_IRQHandler(void)
{
OS_ENTER_CRITICAL(); /* Tell uC/OS-II that we are starting an ISR */
OSIntNesting++;
OS_EXIT_CRITICAL();
/* Update WWDG counter */
if(wdg_clr_flag == 1)
{
WWDG_SetCounter(0x7F);
wdg_clr_flag = 0;
}
/* Clear EWI flag */
WWDG_ClearFlag();
OSIntExit(); /* Tell uC/OS-II that we are leaving the ISR */
}
/*******************************************************************************
* Function Name : PVD_IRQHandler
* Description : This function handles PVD interrupt request.
* Input : None
* Return : None
* Created By : 羅輝聯(lián)(armgcc@foxmail.com lhlzjut@hotmail.com)
* Created date : 2007.11.28
*-------------------------------------------------------------------------------
*******************************************************************************/
void PVD_IRQHandler(void)
}
/*******************************************************************************
* Function Name : TAMPER_IRQHandler
* Description : TThis function handles Tamper interrupt request.
* Input : None
* Return : None
* Created By : 羅輝聯(lián)(armgcc@foxmail.com lhlzjut@hotmail.com)
* Created date : 2007.11.28
*-------------------------------------------------------------------------------
*******************************************************************************/
void TAMPER_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : RTC_IRQHandler
* Description : This function handles RTC global interrupt request.
* Input : None
* Return : None
* Created By : 羅輝聯(lián)(armgcc@foxmail.com lhlzjut@hotmail.com)
* Created date : 2007.11.28
*-------------------------------------------------------------------------------
*******************************************************************************/
void RTC_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : FLASH_IRQHandler
* Description : This function handles Flash interrupt request.
* Input : None
* Return : None
* Created By : 羅輝聯(lián)(armgcc@foxmail.com lhlzjut@hotmail.com)
* Created date : 2007.11.28
*-------------------------------------------------------------------------------
*******************************************************************************/
void FLASH_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : RCC_IRQHandler
* Description : This function handles RCC interrupt request.
* Input : None
* Return : None
* Created By : 羅輝聯(lián)(armgcc@foxmail.com lhlzjut@hotmail.com)
* Created date : 2007.11.28
*-------------------------------------------------------------------------------
*******************************************************************************/
void RCC_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : EXTI0_IRQHandler
* Description : This function handles External interrupt Line 0 request.
* Input : None
* Return : None
* Created By : 羅輝聯(lián)(armgcc@foxmail.com lhlzjut@hotmail.com)
* Created date : 2007.11.28
*-------------------------------------------------------------------------------
*******************************************************************************/
void EXTI0_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : EXTI1_IRQHandler
* Description : This function handles External interrupt Line 1 request.
* Input : None
* Return : None
* Created By : 羅輝聯(lián)(armgcc@foxmail.com lhlzjut@hotmail.com)
* Created date : 2007.11.28
*-------------------------------------------------------------------------------
*******************************************************************************/
void EXTI1_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : EXTI2_IRQHandler
* Description : This function handles External interrupt Line 2 request.
* Input : None
* Return : None
* Created By : 羅輝聯(lián)(armgcc@foxmail.com lhlzjut@hotmail.com)
* Created date : 2007.11.28
*-------------------------------------------------------------------------------
*******************************************************************************/
void EXTI2_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : EXTI3_IRQHandler
* Description : This function handles External interrupt Line 3 request.
* Input : None
* Return : None
* Created By : 羅輝聯(lián)(armgcc@foxmail.com lhlzjut@hotmail.com)
* Created date : 2007.11.28
*-------------------------------------------------------------------------------
*******************************************************************************/
void EXTI3_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : EXTI4_IRQHandler
* Description : This function handles External interrupt Line 4 request.
* Input : None
* Return : None
* Created By : 羅輝聯(lián)(armgcc@foxmail.com lhlzjut@hotmail.com)
* Created date : 2007.11.28
*-------------------------------------------------------------------------------
*******************************************************************************/
void EXTI4_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : DMAChannel1_IRQHandler
* Description : This function handles DMA Stream 1 interrupt request.
* Input : None
* Return : None
* Created By : 羅輝聯(lián)(armgcc@foxmail.com lhlzjut@hotmail.com)
* Created date : 2007.11.28
*-------------------------------------------------------------------------------
*******************************************************************************/
void DMAChannel1_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : DMAChannel2_IRQHandler
* Description : This function handles DMA Stream 2 interrupt request.
* Input : None
* Return : None
* Created By : 羅輝聯(lián)(armgcc@foxmail.com lhlzjut@hotmail.com)
* Created date : 2007.11.28
*-------------------------------------------------------------------------------
*******************************************************************************/
void DMAChannel2_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : DMAChannel3_IRQHandler
* Description : This function handles DMA Stream 3 interrupt request.
* Input : None
* Return : None
* Created By : 羅輝聯(lián)(armgcc@foxmail.com lhlzjut@hotmail.com)
* Created date : 2007.11.28
*-------------------------------------------------------------------------------
*******************************************************************************/
void DMAChannel3_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : DMAChannel4_IRQHandler
* Description : This function handles DMA Stream 4 interrupt request.
* Input : None
* Return : None
* Created By : 羅輝聯(lián)(armgcc@foxmail.com lhlzjut@hotmail.com)
* Created date : 2007.11.28
*-------------------------------------------------------------------------------
*******************************************************************************/
void DMAChannel4_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : DMAChannel5_IRQHandler
* Description : This function handles DMA Stream 5 interrupt request.
* Input : None
* Return : None
* Created By : 羅輝聯(lián)(armgcc@foxmail.com lhlzjut@hotmail.com)
* Created date : 2007.11.28
*-------------------------------------------------------------------------------
*******************************************************************************/
void DMAChannel5_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : DMAChannel6_IRQHandler
* Description : This function handles DMA Stream 6 interrupt request.
* Input : None
* Return : None
* Created By : 羅輝聯(lián)(armgcc@foxmail.com lhlzjut@hotmail.com)
* Created date : 2007.11.28
*-------------------------------------------------------------------------------
*******************************************************************************/
void DMAChannel6_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : DMAChannel7_IRQHandler
* Description : This function handles DMA Stream 7 interrupt request.
* Input : None
* Return : None
* Created By : 羅輝聯(lián)(armgcc@foxmail.com lhlzjut@hotmail.com)
* Created date : 2007.11.28
*-------------------------------------------------------------------------------
*******************************************************************************/
void DMAChannel7_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : ADC_IRQHandler
* Description : This function handles ADC global interrupt request.
* Input : None
* Return : None
* Created By : 羅輝聯(lián)(armgcc@foxmail.com lhlzjut@hotmail.com)
* Created date : 2007.11.28
*-------------------------------------------------------------------------------
*******************************************************************************/
void ADC_IRQHandler(void)
{
}
/*******************************************************************************
* Function Name : USB_HP_CAN_TX_IRQHandler
* Description : This function handles USB High Priority or CAN TX interrupts
* Input : None
* Return : None
* Created By : 羅輝聯(lián)(armgcc@foxmail.com lhlzjut@hotmail.com)
* Created date : 2007.11.28
*-------------------------------------------------------------------------------
*******************************************************************************/
void USB_HP_CAN_TX_IRQHandler(void)
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -