stm32_serDes_protobuf_project/bsp/bsp.h

26 lines
482 B
C
Raw Normal View History

2024-03-28 17:51:39 +03:00
#ifndef BSP_H
#define BSP_H
2024-04-30 13:10:11 +03:00
2024-03-28 17:25:38 +03:00
#include "stm32f4xx.h"
#include "stm32f4xx_usart.h"
2024-05-04 17:20:57 +03:00
#include "stm32f4xx_gpio.h"
#include "stm32f4xx_rcc.h"
#include "stm32f4xx_dma.h"
2024-05-05 02:32:20 +03:00
#include "stm32f4xx_tim.h"
2024-05-13 15:02:23 +03:00
#include "stm32f4xx_flash.h"
2024-06-06 14:12:37 +03:00
#include "stm32f4xx_hal_eth.h"
2024-05-05 19:31:36 +03:00
#include "lwip/lwip.h"
2024-05-15 02:15:03 +03:00
typedef enum {
LINK_DOWN,
LINK_UP
} status_t;
typedef struct {
uint8_t link_status;
} lwip_status_t;
void boardInit();
lwip_status_t* getLwipStatus();
2024-06-10 18:46:02 +03:00
void send_uart(const uint8_t*, uint8_t);
2024-05-13 15:21:22 +03:00
#endif