updates Ehrenberg register description
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
#ifndef _BSP_UART_H
|
||||
#define _BSP_UART_H
|
||||
#ifndef _DEVICES_UART_H
|
||||
#define _DEVICES_UART_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "gen/UartModule.h"
|
||||
|
||||
#define uart_t uartmodule_t
|
||||
#include "gen/uart.h"
|
||||
|
||||
static inline uint32_t uart_get_tx_free(volatile uart_t *reg){
|
||||
return (reg->STATUS_REG >> 16) & 0xFF;
|
||||
@@ -25,4 +23,4 @@ static inline inline uint8_t uart_read(volatile uart_t *reg){
|
||||
return res;
|
||||
}
|
||||
|
||||
#endif /* _BSP_UART_H */
|
||||
#endif /* _DEVICES_UART_H */
|
||||
|
Reference in New Issue
Block a user