Merge branch 'develop' of
https://git.minres.com/Firmware/MNRS-BM-BSP.git into develop
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user