Files
@ 28c7e1414fd9
Branch filter:
Location: FeatherHAB/wsprhab/src/interrupts.c - annotation
28c7e1414fd9
719 B
text/plain
Disabled link-time optimization which fixed jump to rst vector on encode, downside is code size grew
4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 | //
// Interrupts: all global ISRs
//
#include "stm32f0xx_hal.h"
#include "stm32f0xx.h"
#include "interrupts.h"
#include "gpio.h"
extern DMA_HandleTypeDef hdma_usart1_rx;
extern DMA_HandleTypeDef hdma_usart1_tx;
extern UART_HandleTypeDef huart1;
extern TIM_HandleTypeDef htim1;
extern volatile uint8_t proceed;
void SysTick_Handler(void)
{
HAL_IncTick();
HAL_SYSTICK_IRQHandler();
}
void DMA1_Channel2_3_IRQHandler(void)
{
HAL_DMA_IRQHandler(&hdma_usart1_tx);
HAL_DMA_IRQHandler(&hdma_usart1_rx);
}
void USART1_IRQHandler(void)
{
HAL_UART_IRQHandler(&huart1);
}
void TIM1_BRK_UP_TRG_COM_IRQHandler(void)
{
proceed = 1;
HAL_TIM_IRQHandler(&htim1);
}
|