Files
@ dd3b59fcb7a7
Branch filter:
Location: FeatherHAB/wsprhab/src/interrupts.c - annotation
dd3b59fcb7a7
645 B
text/plain
Added code to handle GPS fix acquisition. Hot reaq time is around 3-4s. WSPR currently disabled.
4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 aa624684a65e 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 aa624684a65e aa624684a65e 4202475a7575 4202475a7575 4202475a7575 4202475a7575 aa624684a65e 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 4202475a7575 | //
// Interrupts: all global ISRs
//
#include "stm32f0xx_hal.h"
#include "stm32f0xx.h"
#include "interrupts.h"
#include "usart.h"
#include "gpio.h"
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(uart_get_txdma_handle());
HAL_DMA_IRQHandler(uart_get_txdma_handle());
}
void USART1_IRQHandler(void)
{
HAL_UART_IRQHandler(uart_gethandle());
}
void TIM1_BRK_UP_TRG_COM_IRQHandler(void)
{
proceed = 1;
HAL_TIM_IRQHandler(&htim1);
}
|