Mercurial > ~darius > hgwebdir.cgi > stm32temp
changeset 53:6ad0603ea909
Add all the interrupt sources.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Sun, 07 Apr 2013 22:32:48 +0930 |
parents | 9521be9b391e |
children | 79c7892d07b3 |
files | startup_stm32f10x_md_mthomas.c |
diffstat | 1 files changed, 51 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/startup_stm32f10x_md_mthomas.c Sun Apr 07 22:31:56 2013 +0930 +++ b/startup_stm32f10x_md_mthomas.c Sun Apr 07 22:32:48 2013 +0930 @@ -140,6 +140,23 @@ void WEAK EXTI15_10_IRQHandler(void); void WEAK RTCAlarm_IRQHandler(void); void WEAK USBWakeUp_IRQHandler(void); +void WEAK TIM8Brk_IRQHandler(void); +void WEAK TIM8Up_IRQHandler(void); +void WEAK TIM8_Trg_Com_IRQHandler(void); +void WEAK TIM8_CC_IRQHandler(void); +void WEAK ADC3_IRQHandler(void); +void WEAK FSMC_IRQHandler(void); +void WEAK SDIO_IRQHandler(void); +void WEAK TIM5_IRQHandler(void); +void WEAK SPI3_IRQHandler(void); +void WEAK UART4_IRQHandler(void); +void WEAK UART5_IRQHandler(void); +void WEAK TIM6_IRQHandler(void); +void WEAK TIM7_IRQHandler(void); +void WEAK DMA2_Channel1_IRQHandler(void); +void WEAK DMA2_Channel2_IRQHandler(void); +void WEAK DMA2_Channel3_IRQHandler(void); +void WEAK DMA2_Channel4_5_IRQHandler(void); /* Private functions ---------------------------------------------------------*/ /****************************************************************************** @@ -235,9 +252,23 @@ EXTI15_10_IRQHandler, /* EXTI Line 15..10 */ RTCAlarm_IRQHandler, /* RTC Alarm through EXTI Line */ USBWakeUp_IRQHandler, /* USB Wakeup from suspend */ - 0,0,0,0,0,0,0, - (intfunc)0xF108F85F /* @0x108. This is for boot in RAM mode for - STM32F10x Medium Density devices. */ + TIM8Brk_IRQHandler, /* TIM8 break */ + TIM8Up_IRQHandler, /* TIM8 update */ + TIM8_Trg_Com_IRQHandler, /* TIM8 trigger and commutation */ + TIM8_CC_IRQHandler, /* TIM8 capture/compare */ + ADC3_IRQHandler, /* ADC3 */ + FSMC_IRQHandler, /* FSMC */ + SDIO_IRQHandler, /* SDIO */ + TIM5_IRQHandler, /* TIM5 */ + SPI3_IRQHandler, /* SPI3 */ + UART4_IRQHandler, /* UART4 */ + UART5_IRQHandler, /* UART5 */ + TIM6_IRQHandler, /* TIM6 */ + TIM7_IRQHandler, /* TIM7 */ + DMA2_Channel1_IRQHandler, /* DMA2 Channel 1 */ + DMA2_Channel2_IRQHandler, /* DMA2 Channel 2 */ + DMA2_Channel3_IRQHandler, /* DMA2 Channel 3 */ + DMA2_Channel4_5_IRQHandler, /* DMA2 Channel 4 & 5 */ }; /** @@ -356,6 +387,23 @@ #pragma weak EXTI15_10_IRQHandler = Default_Handler #pragma weak RTCAlarm_IRQHandler = Default_Handler #pragma weak USBWakeUp_IRQHandler = Default_Handler +#pragma weak TIM8Brk_IRQHandler = Default_Handler +#pragma weak TIM8Up_IRQHandler = Default_Handler +#pragma weak TIM8_Trg_Com_IRQHandler = Default_Handler +#pragma weak TIM8_CC_IRQHandler = Default_Handler +#pragma weak ADC3_IRQHandler = Default_Handler +#pragma weak FSMC_IRQHandler = Default_Handler +#pragma weak SDIO_IRQHandler = Default_Handler +#pragma weak TIM5_IRQHandler = Default_Handler +#pragma weak SPI3_IRQHandler = Default_Handler +#pragma weak UART4_IRQHandler = Default_Handler +#pragma weak UART5_IRQHandler = Default_Handler +#pragma weak TIM6_IRQHandler = Default_Handler +#pragma weak TIM7_IRQHandler = Default_Handler +#pragma weak DMA2_Channel1_IRQHandler = Default_Handler +#pragma weak DMA2_Channel2_IRQHandler = Default_Handler +#pragma weak DMA2_Channel3_IRQHandler = Default_Handler +#pragma weak DMA2_Channel4_5_IRQHandler = Default_Handler /** * @brief This is the code that gets called when the processor receives an