diff options
Diffstat (limited to 'src/entropy/stm_init.h')
-rw-r--r-- | src/entropy/stm_init.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/entropy/stm_init.h b/src/entropy/stm_init.h new file mode 100644 index 0000000..6a5de19 --- /dev/null +++ b/src/entropy/stm_init.h @@ -0,0 +1,17 @@ +#ifndef __STM_INIT_H +#define __STM_INIT_H + +#include "stm32f4xx_hal.h" + +#define LED_PORT GPIOB +#define LED_RED GPIO_PIN_12 +#define LED_YELLOW GPIO_PIN_13 +#define LED_GREEN GPIO_PIN_14 +#define LED_BLUE GPIO_PIN_15 + +extern UART_HandleTypeDef huart1; +extern DMA_HandleTypeDef hdma_tim; + +extern void stm_init(uint32_t *buf0, uint16_t counters); + +#endif /* __STM_INIT_H */ |