Azure Sphere MT3620 M4 API Reference Manual
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Define

This section introduces the Macro definition which is used by UART M-HAL. More...

Overview

This section introduces the Macro definition which is used by UART M-HAL.

Macros

#define UART_EPTR   (1)
 It means the pointer is NULL.
 
#define UART_ENXIO   (6)
 No such device or address.
 
#define UART_EINVAL   (22)
 Invalid argument.
 
#define UART_ETIMEDOUT   (110)
 Transfer timed out.
 
#define UART_INT_DISABLE   0x00
 Disable all interrupts.
 
#define UART_INT_RX_BUFFER_FULL   0x01
 Enable Rx buffer full interrupt.
 
#define UART_INT_TX_BUFFER_EMPTY   0x02
 Enable Tx buffer empty interrupt.
 
#define UART_INT_LINE_STATUS   0x04
 Enable Line Status interrupt.
 
#define UART_INT_SW_FLOW_CONTROL   0x20
 Enable software flow control interrupt.
 
#define UART_INT_HW_FLOW_CONTROL_RTS   0x40
 Enable hardware flow control RTS interrupt.
 
#define UART_INT_HW_FLOW_CONTROL_CTS   0x80
 Enable hardware flow control CTS interrupt.
 
#define UART_EFR_HW_FC_DISABLE   0x00
 Disable hardware flow control.
 
#define UART_EFR_HW_FC_RTS   0x40
 RTS hardware flow control.
 
#define UART_EFR_HW_FC_CTS   0x80
 CTS fardware flow control.
 
#define UART_EFR_HW_FC_RTS_CTS   0xC0
 Disable hardware flow control.