aboutsummaryrefslogblamecommitdiff
path: root/src/led-test/stm_init.h
blob: e1cdfb8dbb47f0800fe1169a7ea9158812b8d01c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                   
#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 void stm_init(void);


#endif /* __STM_INIT_H */