bool is_callback
Definition: maxim_uart.c:61
enum no_os_uart_parity parity
Definition: no_os_uart.h:122
@ NO_OS_EVT_UART_RX_COMPLETE
Definition: no_os_irq.h:70
void * extra
Definition: no_os_uart.h:127
Structure describing a callback to be registered.
Definition: no_os_irq.h:136
Header file for maxim irq specifics.
@ NO_OS_UART_STOP_1_BIT
Definition: no_os_uart.h:94
Header file of IRQ interface.
int32_t no_os_irq_register_callback(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id, struct no_os_callback_desc *callback_desc)
Register a callback to handle the irq events.
Definition: no_os_irq.c:94
int lf256fifo_init(struct lf256fifo **)
enum no_os_uart_size size
Definition: no_os_uart.h:120
struct no_os_irq_ctrl_desc * nvic
Definition: maxim_uart.h:71
Header file of UART driver.
uint32_t baud_rate
Definition: no_os_uart.h:142
@ NO_OS_UART_CS_5
Definition: no_os_uart.h:60
void * no_os_calloc(size_t nitems, size_t size)
uint8_t device_id
Definition: no_os_uart.h:136
Header file of UART driver.
const mxc_gpio_cfg_t gpio_cfg_uart2_flow
Definition: maxim_uart.c:65
Header file for maxim irq specifics.
enum max_uart_flow_ctrl flow
Definition: maxim_uart.h:62
int lf256fifo_read(struct lf256fifo *, uint8_t *)
@ MAX_UART_FLOW_EN
Definition: maxim_uart.h:53
@ UART_FLOW_LOW
Definition: maxim_uart.h:54
Stucture holding the UART descriptor.
Definition: no_os_uart.h:134
bool asynchronous_rx
Definition: no_os_uart.h:116
Platform specific UART state.
Definition: maxim_uart.h:69
Header file of UART driver.
const struct no_os_irq_platform_ops max_irq_ops
maxim specific IRQ platform ops structure
Definition: maxim_irq.c:570
max_uart_flow_ctrl
UART flow control.
Definition: maxim_uart.h:52
@ NO_OS_UART_STOP_2_BIT
Definition: no_os_uart.h:96
Header file for maxim irq specifics.
const struct no_os_irq_platform_ops * platform_ops
Definition: no_os_irq.h:107
struct lf256fifo * rx_fifo
Definition: no_os_uart.h:140
int lf256fifo_write(struct lf256fifo *, uint8_t)
int32_t no_os_irq_ctrl_init(struct no_os_irq_ctrl_desc **desc, const struct no_os_irq_init_param *param)
Initialize the IRQ interrupts.
Definition: no_os_irq.c:51
Aditional UART config parameters.
Definition: maxim_uart.h:61
@ UART_FLOW_DIS
Definition: maxim_uart.h:53
void(* callback)(void *context)
Definition: no_os_irq.h:138
void max_uart_callback(mxc_uart_req_t *req, int result)
UART callback function that sets the event and further calls the user registered callback.
Definition: maxim_irq.c:213
@ NO_OS_UART_PAR_SPACE
Definition: no_os_uart.h:81
uint32_t baud_rate
Definition: no_os_uart.h:118
const struct no_os_uart_platform_ops max_uart_ops
Maxim platform specific UART platform ops structure.
Definition: maxim_uart.c:448
enum no_os_uart_stop stop
Definition: no_os_uart.h:124
Header file of UART driver.
const struct no_os_uart_platform_ops max_uart_ops
Maxim specific UART platform ops structure.
Definition: maxim_uart.c:448
@ NO_OS_UART_PAR_EVEN
Definition: no_os_uart.h:85
SPSC lock-free fifo of fixed size (256), specialized for UART.
@ NO_OS_UART_CS_7
Definition: no_os_uart.h:64
void no_os_free(void *ptr)
@ NO_OS_UART_CS_6
Definition: no_os_uart.h:62
Header file of UART driver.
#define NULL
Definition: wrapper.h:64
Structure holding the parameters for UART initialization.
Definition: no_os_uart.h:110
Header file for maxim irq specifics.
Structure holding the initial parameters for Interrupt Request.
Definition: no_os_irq.h:103
@ NO_OS_UART_PAR_NO
Definition: no_os_uart.h:77
@ NO_OS_UART_IRQ
Definition: no_os_irq.h:87
int32_t no_os_irq_ctrl_remove(struct no_os_irq_ctrl_desc *desc)
Free the resources allocated by no_os_irq_ctrl_init().
Definition: no_os_irq.c:76
uint8_t device_id
Definition: no_os_uart.h:112
mxc_gpio_vssel_t vssel
Definition: maxim_uart.h:63
int32_t no_os_irq_enable(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id)
Enable specific interrupt.
Definition: no_os_irq.c:183
void uart_rx_callback(void *context)
Definition: maxim_uart.c:226
@ MAX_UART_FLOW_DIS
Definition: maxim_uart.h:52
@ NO_OS_UART_PAR_MARK
Definition: no_os_uart.h:79
@ NO_OS_UART_PAR_ODD
Definition: no_os_uart.h:83
Header file for maxim irq specifics.
Header file of UART interface.
Header file of UART driver.
Header file of utility functions.
const mxc_gpio_cfg_t gpio_cfg_uart2_flow_disable
Definition: maxim_uart.c:66
@ UART_FLOW_HIGH
Definition: maxim_uart.h:55
Definition: no_os_irq.h:119
@ NO_OS_UART_CS_8
Definition: no_os_uart.h:66
Header file for maxim irq specifics.
mxc_uart_req_t uart_irq_state[MXC_UART_INSTANCES]
Descriptors to hold the state of nonblocking read and writes on each port.
Definition: maxim_uart.c:60
Error macro definition for ARM Compiler.