blob: d58c254f780116cf437d0bbe7d787507438ab1ea (
plain) (
tree)
|
|
#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 UART_HandleTypeDef huart2;
extern DMA_HandleTypeDef hdma_tim;
extern void stm_init(uint32_t *buf0, uint16_t counters);
#endif /* __STM_INIT_H */
|