Files @ 23ecc15c694d
Branch filter:

Location: FeatherHAB/wsprhab/src/stm32f0xx_it.c

Ethan Zonca
Tons of changes, got my first wspr transmission through! Manually powered up at even minute + 1 second
//
// Interrupts: all global ISRs
//

#include "stm32f0xx_hal.h"
#include "stm32f0xx.h"
#include "stm32f0xx_it.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);
}