34#ifndef ADUCM3029_UART_H_
35#define ADUCM3029_UART_H_
37#include <drivers/uart/adi_uart.h>
45#define NO_OS_UART_MAX_BYTES 1024u
const struct no_os_uart_platform_ops aducm_uart_ops
aducm3029 platform specific UART platform ops structure
Definition aducm3029_uart.c:490
UART_ERROR
Values returned by no_os_uart_get_errors. Multiple values can be set.
Definition aducm3029_uart.h:51
@ HW_ERR_TX_CHAN_DMA_UNKNOWN_ERROR
Definition aducm3029_uart.h:80
@ BAD_INPUT_PARAMETERS
Definition aducm3029_uart.h:58
@ HW_ERR_FRAMING
Definition aducm3029_uart.h:62
@ HW_ERR_TX_CHAN_DMA_INVALID_DESCR
Definition aducm3029_uart.h:76
@ WAITING_FOR_CALLBACK
Definition aducm3029_uart.h:60
@ HW_ERR_OVERRUN
Definition aducm3029_uart.h:66
@ HW_ERR_RX_CHAN_DMA_UNKNOWN_ERROR
Definition aducm3029_uart.h:78
@ BREAK_INTERRUPT
Definition aducm3029_uart.h:68
@ HW_ERR_PARITY
Definition aducm3029_uart.h:64
@ HW_ERR_RX_CHAN_DMA_BUS_FAULT
Definition aducm3029_uart.h:70
@ NO_ERR
Definition aducm3029_uart.h:53
@ HW_ERR_RX_CHAN_DMA_INVALID_DESCR
Definition aducm3029_uart.h:74
@ HW_ERR_TX_CHAN_DMA_BUS_FAULT
Definition aducm3029_uart.h:72
Header file of IRQ interface.
Header file of UART interface.
Stores specific parameter needed by the UART driver for internal operations.
Definition aducm3029_uart.h:120
struct no_os_op_desc read_desc
Definition aducm3029_uart.h:140
struct no_os_op_desc write_desc
Definition aducm3029_uart.h:138
uint32_t adi_uart_buffer_offset
Definition aducm3029_uart.h:136
ADI_UART_HANDLE uart_handler
Definition aducm3029_uart.h:122
struct no_os_callback_desc rx_callback
Definition aducm3029_uart.h:144
enum UART_ERROR errors
Definition aducm3029_uart.h:124
struct no_os_irq_ctrl_desc * nvic
Definition aducm3029_uart.h:142
uint8_t * adi_uart_buffer
Definition aducm3029_uart.h:131
bool callback_enabled
Definition aducm3029_uart.h:126
Structure of an element from baud_rates_26MHz. The baud rate is calculated with the formula: Baudrate...
Definition aducm3029_uart.h:89
uint8_t div_m
Definition aducm3029_uart.h:95
uint16_t div_n
Definition aducm3029_uart.h:93
uint32_t baud_rate
Definition aducm3029_uart.h:91
uint8_t osr
Definition aducm3029_uart.h:99
uint16_t div_c
Definition aducm3029_uart.h:97
Structure describing a callback to be registered.
Definition no_os_irq.h:136
Definition no_os_irq.h:117
It stores the state of a operation.
Definition aducm3029_uart.h:106
uint8_t * buff
Definition aducm3029_uart.h:110
uint32_t pending
Definition aducm3029_uart.h:112
bool is_nonblocking
Definition aducm3029_uart.h:108