no-OS
maxim_uart.h
Go to the documentation of this file.
1 /***************************************************************************/
34 #ifndef MAXIM_UART_H_
35 #define MAXIM_UART_H_
36 
37 #include "uart.h"
38 #include "no_os_irq.h"
39 #include "max78000.h"
40 #include "no_os_uart.h"
41 #include "gpio.h"
42 
50 };
51 
55 struct max_uart_init_param {
57  mxc_gpio_vssel_t vssel;
58 };
59 
63 struct max_uart_desc {
65  struct no_os_irq_ctrl_desc *nvic;
66 };
67 
71 extern const struct no_os_uart_platform_ops max_uart_ops;
72 
73 #endif
no_os_uart_platform_ops
Structure holding UART function pointers that point to the platform specific function.
Definition: no_os_uart.h:155
no_os_irq.h
Header file of IRQ interface.
max_uart_desc::nvic
struct no_os_irq_ctrl_desc * nvic
Definition: maxim_uart.h:65
max_uart_init_param::flow
enum max_uart_flow_ctrl flow
Definition: maxim_uart.h:56
UART_FLOW_LOW
@ UART_FLOW_LOW
Definition: maxim_uart.h:48
max_uart_desc
Platform specific UART state.
Definition: maxim_uart.h:63
max_uart_flow_ctrl
max_uart_flow_ctrl
UART flow control.
Definition: maxim_uart.h:46
max_uart_init_param
Aditional UART config parameters.
Definition: maxim_uart.h:55
UART_FLOW_DIS
@ UART_FLOW_DIS
Definition: maxim_uart.h:47
max_uart_ops
const struct no_os_uart_platform_ops max_uart_ops
Maxim specific UART platform ops structure.
Definition: maxim_uart.c:475
max_uart_init_param::vssel
mxc_gpio_vssel_t vssel
Definition: maxim_uart.h:57
no_os_uart.h
Header file of UART interface.
UART_FLOW_HIGH
@ UART_FLOW_HIGH
Definition: maxim_uart.h:49
no_os_irq_ctrl_desc
Definition: no_os_irq.h:123