eurorack/stereo_mix/drivers/peripherals.c

15 lines
329 B
C
Raw Normal View History

2020-04-13 13:39:01 +00:00
#include "peripherals.h"
ADC_HandleTypeDef hadc1 = { .Instance = ADC1 };
DMA_HandleTypeDef hdma1_channel1 = { .Instance = DMA1_Channel1 };
SPI_HandleTypeDef hspi1 = { .Instance = SPI1 };
void DMA1_Channel1_IRQHandler(void)
{
HAL_DMA_IRQHandler(&hdma1_channel1);
}
void ADC1_IRQHandler(void)
{
HAL_ADC_IRQHandler(&hadc1);
}