Import YEEP-144 library 1.2 sources
Source-only snapshot of the 1.2 release. Drivers/ (the vendored ST HAL and CMSIS) is excluded at 173 MB; fetch it from STMicroelectronics/STM32CubeH5 to build.
This commit is contained in:
21
YEEP144lib/include/YEEP144.h
Normal file
21
YEEP144lib/include/YEEP144.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef __YEEP144_H
|
||||
#define __YEEP144_H
|
||||
|
||||
#include "stm32h5xx_hal.h"
|
||||
|
||||
#define GPIO_MODE_OUTPUT GPIO_MODE_OUTPUT_PP
|
||||
|
||||
#define DEBUGUART 1
|
||||
#define BLUETOOTHUART 2
|
||||
|
||||
#define UARTSEL DEBUGUART
|
||||
|
||||
// Public Function Prototypes
|
||||
int YEEP144_Init(void);
|
||||
|
||||
void delayUS(uint32_t us);
|
||||
|
||||
void YEEP144_GPIO_Init(GPIO_TypeDef* port, uint32_t pins, uint32_t mode);
|
||||
void YEEP144_GPIO_InitAdv(GPIO_TypeDef* port, uint32_t pins, uint32_t mode, uint32_t pull, uint32_t speed, uint32_t alternate);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user