no-OS
Loading...
Searching...
No Matches
riscvrx_uart.h
Go to the documentation of this file.
1/***************************************************************************/
39#ifndef _LATTICE_UART_H_
40#define _LATTICE_UART_H_
41
42/******************************************************************************/
43/***************************** Include Files **********************************/
44/******************************************************************************/
45
46#include "no_os_uart.h"
47#include "no_os_irq.h"
48#include "local_uart.h"
49
50/******************************************************************************/
51/*************************** Types Declarations *******************************/
52/******************************************************************************/
53
60 struct local_uart_instance *uart_instance;
61};
62
68 uint32_t *base_addr;
70 uint32_t sys_clk;
71};
72
76extern const struct no_os_uart_platform_ops latt_uart_ops;
77
78#endif
Header file of IRQ interface.
Header file of UART interface.
const struct no_os_uart_platform_ops latt_uart_ops
Lattice specific UART platform ops structure.
Definition riscvrx_uart.c:256
Lattice platform specific UART descriptor.
Definition riscvrx_uart.h:58
struct local_uart_instance * uart_instance
Definition riscvrx_uart.h:60
Additional UART config parameters.
Definition riscvrx_uart.h:66
uint32_t sys_clk
Definition riscvrx_uart.h:70
uint32_t * base_addr
Definition riscvrx_uart.h:68
Structure holding UART function pointers that point to the platform specific function.
Definition no_os_uart.h:143