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 "max32660.h"
40 #include "no_os_uart.h"
41 #include "gpio.h"
42 
50 };
51 
59 };
60 
64 struct max_uart_init_param {
67  mxc_gpio_vssel_t vssel;
68 };
69 
73 struct max_uart_desc {
75  struct no_os_irq_ctrl_desc *nvic;
76 };
77 
81 extern const struct no_os_uart_platform_ops max_uart_ops;
82 
83 #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
UART_MAP_A
@ UART_MAP_A
Definition: maxim_uart.h:56
UART_MAP_C
@ UART_MAP_C
Definition: maxim_uart.h:58
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_init_param::map
enum max_uart_map map
Definition: maxim_uart.h:66
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
UART_MAP_B
@ UART_MAP_B
Definition: maxim_uart.h:57
max_uart_map
max_uart_map
UART pin mapping select.
Definition: maxim_uart.h:55
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