Merge branch 'develop' of

https://git.minres.com/Firmware/MNRS-BM-BSP.git into develop
This commit is contained in:
2024-05-29 20:50:30 +02:00
parent 71c7fd6981
commit 442384574b
16 changed files with 826 additions and 465 deletions

View File

@@ -2,9 +2,9 @@
#define _BSP_UART_H
#include <stdint.h>
#include "gen/Apb3Uart.h"
#include "gen/UartModule.h"
#define uart_t apb3uart_t
#define uart_t uartmodule_t
static inline uint32_t uart_get_tx_free(volatile uart_t *reg){
return (reg->STATUS_REG >> 16) & 0xFF;