STM8S/A Standard Peripherals Firmware Library
|
STM8S_StdPeriph_Template/stm8s_it.h
Go to the documentation of this file.
00001 /** 00002 ****************************************************************************** 00003 * @file stm8s_it.h 00004 * @author MCD Application Team 00005 * @version V2.2.0 00006 * @date 30-September-2014 00007 * @brief This file contains the headers of the interrupt handlers 00008 ****************************************************************************** 00009 * @attention 00010 * 00011 * <h2><center>© COPYRIGHT 2014 STMicroelectronics</center></h2> 00012 * 00013 * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); 00014 * You may not use this file except in compliance with the License. 00015 * You may obtain a copy of the License at: 00016 * 00017 * http://www.st.com/software_license_agreement_liberty_v2 00018 * 00019 * Unless required by applicable law or agreed to in writing, software 00020 * distributed under the License is distributed on an "AS IS" BASIS, 00021 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00022 * See the License for the specific language governing permissions and 00023 * limitations under the License. 00024 * 00025 ****************************************************************************** 00026 */ 00027 00028 /* Define to prevent recursive inclusion -------------------------------------*/ 00029 #ifndef __STM8S_IT_H 00030 #define __STM8S_IT_H 00031 00032 /* Includes ------------------------------------------------------------------*/ 00033 #include "stm8s.h" 00034 00035 /* Exported types ------------------------------------------------------------*/ 00036 /* Exported constants --------------------------------------------------------*/ 00037 /* Exported macro ------------------------------------------------------------*/ 00038 /* Exported functions ------------------------------------------------------- */ 00039 #ifdef _COSMIC_ 00040 void _stext(void); /* RESET startup routine */ 00041 INTERRUPT void NonHandledInterrupt(void); 00042 #endif /* _COSMIC_ */ 00043 00044 #ifndef _RAISONANCE_ 00045 INTERRUPT void TRAP_IRQHandler(void); /* TRAP */ 00046 INTERRUPT void TLI_IRQHandler(void); /* TLI */ 00047 INTERRUPT void AWU_IRQHandler(void); /* AWU */ 00048 INTERRUPT void CLK_IRQHandler(void); /* CLOCK */ 00049 INTERRUPT void EXTI_PORTA_IRQHandler(void); /* EXTI PORTA */ 00050 INTERRUPT void EXTI_PORTB_IRQHandler(void); /* EXTI PORTB */ 00051 INTERRUPT void EXTI_PORTC_IRQHandler(void); /* EXTI PORTC */ 00052 INTERRUPT void EXTI_PORTD_IRQHandler(void); /* EXTI PORTD */ 00053 INTERRUPT void EXTI_PORTE_IRQHandler(void); /* EXTI PORTE */ 00054 00055 #if defined(STM8S903) || defined(STM8AF622x) 00056 INTERRUPT void EXTI_PORTF_IRQHandler(void); /* EXTI PORTF */ 00057 #endif /* (STM8S903) || (STM8AF622x) */ 00058 00059 #if defined (STM8S208) || defined (STM8AF52Ax) 00060 INTERRUPT void CAN_RX_IRQHandler(void); /* CAN RX */ 00061 INTERRUPT void CAN_TX_IRQHandler(void); /* CAN TX/ER/SC */ 00062 #endif /* (STM8S208) || (STM8AF52Ax) */ 00063 00064 INTERRUPT void SPI_IRQHandler(void); /* SPI */ 00065 INTERRUPT void TIM1_CAP_COM_IRQHandler(void); /* TIM1 CAP/COM */ 00066 INTERRUPT void TIM1_UPD_OVF_TRG_BRK_IRQHandler(void); /* TIM1 UPD/OVF/TRG/BRK */ 00067 00068 #if defined(STM8S903) || defined(STM8AF622x) 00069 INTERRUPT void TIM5_UPD_OVF_BRK_TRG_IRQHandler(void); /* TIM5 UPD/OVF/BRK/TRG */ 00070 INTERRUPT void TIM5_CAP_COM_IRQHandler(void); /* TIM5 CAP/COM */ 00071 #else /* (STM8S208) || (STM8S207) || (STM8S105) || (STM8S103) || (STM8AF52Ax) || (STM8AF62Ax) || (STM8A626x) */ 00072 INTERRUPT void TIM2_UPD_OVF_BRK_IRQHandler(void); /* TIM2 UPD/OVF/BRK */ 00073 INTERRUPT void TIM2_CAP_COM_IRQHandler(void); /* TIM2 CAP/COM */ 00074 #endif /* (STM8S903) || (STM8AF622x) */ 00075 00076 #if defined (STM8S208) || defined(STM8S207) || defined(STM8S007) || defined(STM8S105) || \ 00077 defined(STM8S005) || defined (STM8AF52Ax) || defined (STM8AF62Ax) || defined (STM8AF626x) 00078 INTERRUPT void TIM3_UPD_OVF_BRK_IRQHandler(void); /* TIM3 UPD/OVF/BRK */ 00079 INTERRUPT void TIM3_CAP_COM_IRQHandler(void); /* TIM3 CAP/COM */ 00080 #endif /* (STM8S208) || (STM8S207) || (STM8S105) || (STM8AF52Ax) || (STM8AF62Ax) || (STM8A626x) */ 00081 00082 #if defined (STM8S208) || defined(STM8S207) || defined(STM8S007) || defined(STM8S103) || \ 00083 defined(STM8S003) || defined (STM8AF52Ax) || defined (STM8AF62Ax) || defined (STM8S903) 00084 INTERRUPT void UART1_TX_IRQHandler(void); /* UART1 TX */ 00085 INTERRUPT void UART1_RX_IRQHandler(void); /* UART1 RX */ 00086 #endif /* (STM8S208) || (STM8S207) || (STM8S903) || (STM8S103) || (STM8AF52Ax) || (STM8AF62Ax) */ 00087 00088 #if defined (STM8AF622x) 00089 INTERRUPT void UART4_TX_IRQHandler(void); /* UART4 TX */ 00090 INTERRUPT void UART4_RX_IRQHandler(void); /* UART4 RX */ 00091 #endif /* (STM8AF622x) */ 00092 00093 INTERRUPT void I2C_IRQHandler(void); /* I2C */ 00094 00095 #if defined(STM8S105) || defined(STM8S005) || defined (STM8AF626x) 00096 INTERRUPT void UART2_RX_IRQHandler(void); /* UART2 RX */ 00097 INTERRUPT void UART2_TX_IRQHandler(void); /* UART2 TX */ 00098 #endif /* (STM8S105) || (STM8AF626x) */ 00099 00100 #if defined(STM8S207) || defined(STM8S007) || defined(STM8S208) || defined (STM8AF52Ax) || defined (STM8AF62Ax) 00101 INTERRUPT void UART3_RX_IRQHandler(void); /* UART3 RX */ 00102 INTERRUPT void UART3_TX_IRQHandler(void); /* UART3 TX */ 00103 #endif /* (STM8S207) || (STM8S208) || (STM8AF62Ax) || (STM8AF52Ax) */ 00104 00105 #if defined(STM8S207) || defined(STM8S007) || defined(STM8S208) || defined (STM8AF52Ax) || defined (STM8AF62Ax) 00106 INTERRUPT void ADC2_IRQHandler(void); /* ADC2 */ 00107 #else /* (STM8S105) || (STM8S103) || (STM8S903) || (STM8AF622x) */ 00108 INTERRUPT void ADC1_IRQHandler(void); /* ADC1 */ 00109 #endif /* (STM8S207) || (STM8S208) || (STM8AF62Ax) || (STM8AF52Ax) */ 00110 00111 #if defined(STM8S903) || defined(STM8AF622x) 00112 INTERRUPT void TIM6_UPD_OVF_TRG_IRQHandler(void); /* TIM6 UPD/OVF/TRG */ 00113 #else /* (STM8S208) || (STM8S207) || (STM8S105) || (STM8S103) || (STM8AF62Ax) || (STM8AF52Ax) || (STM8AF626x) */ 00114 INTERRUPT void TIM4_UPD_OVF_IRQHandler(void); /* TIM4 UPD/OVF */ 00115 #endif /* (STM8S903) || (STM8AF622x) */ 00116 INTERRUPT void EEPROM_EEC_IRQHandler(void); /* EEPROM ECC CORRECTION */ 00117 #endif /* _RAISONANCE_ */ 00118 00119 #endif /* __STM8S_IT_H */ 00120 00121 00122 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/