STM8S/A Standard Peripherals Firmware Library
|
STM8S_StdPeriph_Examples/SPI/SPI_FastCommunicationMicroSD/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 #ifdef STM8S903 00056 INTERRUPT void EXTI_PORTF_IRQHandler(void); /* EXTI PORTF */ 00057 #endif /*STM8S903*/ 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 #ifdef STM8S903 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 or STM8S103 or STM8AF52Ax or STM8AF62Ax or 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*/ 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 or STM8S105 or STM8AF52Ax or STM8AF62Ax or 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 or STM8S103 or STM8AF52Ax or STM8AF62Ax */ 00087 00088 INTERRUPT void I2C_IRQHandler(void); /* I2C */ 00089 00090 #if defined(STM8S105) || defined(STM8S005) || defined (STM8AF626x) 00091 INTERRUPT void UART2_RX_IRQHandler(void); /* UART2 RX */ 00092 INTERRUPT void UART2_TX_IRQHandler(void); /* UART2 TX */ 00093 #endif /* STM8S105 or STM8AF626x */ 00094 00095 #if defined(STM8S207) || defined(STM8S007) || defined(STM8S208) || defined (STM8AF52Ax) || defined (STM8AF62Ax) 00096 INTERRUPT void UART3_RX_IRQHandler(void); /* UART3 RX */ 00097 INTERRUPT void UART3_TX_IRQHandler(void); /* UART3 TX */ 00098 #endif /*STM8S207, STM8S208, STM8AF62Ax or STM8AF52Ax */ 00099 00100 #if defined(STM8S207) || defined(STM8S007) || defined(STM8S208) || defined (STM8AF52Ax) || defined (STM8AF62Ax) 00101 INTERRUPT void ADC2_IRQHandler(void); /* ADC2 */ 00102 #else /*STM8S105, STM8S103 or STM8S903*/ 00103 INTERRUPT void ADC1_IRQHandler(void); /* ADC1 */ 00104 #endif /*STM8S207, STM8S208, STM8AF62Ax or STM8AF52Ax */ 00105 00106 #ifdef STM8S903 00107 INTERRUPT void TIM6_UPD_OVF_TRG_IRQHandler(void); /* TIM6 UPD/OVF/TRG */ 00108 #else /*STM8S208, STM8S207, STM8S105 or STM8S103 or STM8AF62Ax or STM8AF52Ax or STM8AF626x */ 00109 INTERRUPT void TIM4_UPD_OVF_IRQHandler(void); /* TIM4 UPD/OVF */ 00110 #endif /*STM8S903*/ 00111 INTERRUPT void EEPROM_EEC_IRQHandler(void); /* EEPROM ECC CORRECTION */ 00112 #endif /* _RAISONANCE_ */ 00113 00114 #endif /* __STM8S_IT_H */ 00115 00116 00117 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/