2020-08-17 09:45:53 +00:00
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <limits.h>
|
|
|
|
|
|
|
|
#define HAL_MAX_DELAY INT_MAX
|
|
|
|
|
|
|
|
typedef uint32_t UART_HandleTypeDef;
|
2020-09-29 23:18:30 +00:00
|
|
|
uint16_t
|
|
|
|
HAL_UART_Transmit(UART_HandleTypeDef* handle, uint8_t* bufer, uint16_t size, uint32_t wait_ms);
|
2020-08-17 09:45:53 +00:00
|
|
|
|
|
|
|
typedef uint32_t TIM_HandleTypeDef;
|
|
|
|
|
2020-10-10 10:32:06 +00:00
|
|
|
#define LED_RED_Pin 1
|
|
|
|
#define LED_RED_GPIO_Port "Red:"
|
|
|
|
#define LED_GREEN_Pin 1
|
|
|
|
#define LED_GREEN_GPIO_Port "Green:"
|
|
|
|
#define LED_BLUE_Pin 1
|
|
|
|
#define LED_BLUE_GPIO_Port "Blue:"
|