aboutsummaryrefslogtreecommitdiff
path: root/src/stm32/setup.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-04-06 16:49:36 +0200
committerlonkaars <loek@pipeframe.xyz>2023-04-06 16:49:36 +0200
commit892424ba4d0c979e4351f7a866b6fe777783e4d2 (patch)
treed6688765834be74370038d8662703bd83b1acd40 /src/stm32/setup.h
parent4881723cf765fbd7bad2a1f08baf5897a7425401 (diff)
dma send done and working
Diffstat (limited to 'src/stm32/setup.h')
-rw-r--r--src/stm32/setup.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stm32/setup.h b/src/stm32/setup.h
index b9432dc..f583d20 100644
--- a/src/stm32/setup.h
+++ b/src/stm32/setup.h
@@ -4,11 +4,12 @@
#include <stm32f0xx_hal_uart.h>
#include <stm32f0xx_hal_tim.h>
#include <stm32f0xx_hal_gpio.h>
+#include <stm32f0xx_hal_dma.h>
extern UART_HandleTypeDef huart2; // NOLINT
-extern GPIO_InitTypeDef spi_gpio; // NOLINT
extern SPI_HandleTypeDef hspi1; // NOLINT
extern TIM_HandleTypeDef htim3; // NOLINT
+extern DMA_HandleTypeDef hdma_spi1_tx; // NOLINT
// required HAL setup functions
void HAL_MspInit(); // NOLINT
@@ -21,3 +22,4 @@ void HardFault_Handler(); // NOLINT
void SysTick_Handler(); // NOLINT
void EXTI4_15_IRQHandler(); // NOLINT
void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin); // NOLINT
+void DMA1_Ch2_3_DMA2_Ch1_2_IRQHandler(); // NOLINT