no-OS
Classes | Macros | Enumerations
maxim_uart.h File Reference

Header file of UART driver. More...

#include "uart.h"
#include "no_os_irq.h"
#include "maxim_hal.h"
Include dependency graph for maxim_uart.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  max_uart_init_param
 Aditional UART config parameters. More...
 
struct  max_uart_desc
 Platform specific UART state. More...
 

Macros

#define N_PORTS   MXC_UART_INSTANCES
 
#define MAX_UART_REVA   (TARGET_NUM == 32650 || TARGET_NUM == 32660 || TARGET_NUM == 32665)
 
#define MAX_UART_REVB   (TARGET_NUM == 32655 || TARGET_NUM == 78000)
 

Enumerations

enum  max_uart_flow_ctrl {
  UART_FLOW_DIS,
  UART_FLOW_LOW,
  UART_FLOW_HIGH
}
 UART flow control. More...
 

Detailed Description

Header file of UART driver.

Author
Ciprian Regus (cipri.nosp@m.an.r.nosp@m.egus@.nosp@m.anal.nosp@m.og.co.nosp@m.m)

Copyright 2022(c) Analog Devices, Inc.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Macro Definition Documentation

◆ MAX_UART_REVA

#define MAX_UART_REVA   (TARGET_NUM == 32650 || TARGET_NUM == 32660 || TARGET_NUM == 32665)

◆ MAX_UART_REVB

#define MAX_UART_REVB   (TARGET_NUM == 32655 || TARGET_NUM == 78000)

◆ N_PORTS

#define N_PORTS   MXC_UART_INSTANCES

Enumeration Type Documentation

◆ max_uart_flow_ctrl

UART flow control.

Enumerator
UART_FLOW_DIS 
UART_FLOW_LOW 
UART_FLOW_HIGH