updates Ehrenberg register description

This commit is contained in:
2024-05-30 18:32:23 +02:00
parent 442384574b
commit 05062c5be4
22 changed files with 1460 additions and 903 deletions

View File

@@ -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 */