FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
uart_periph.h File Reference

Data Structures

struct  uart_t
 
union  uart_status_t
 
union  uart_setup_t
 

Macros

STATUS
#define UART_STATUS_TX_BUSY_MASK
 
#define UART_STATUS_TX_BUSY_SHIFT
 
#define UART_STATUS_TX_BUSY(val)
 
#define UART_STATUS_RX_BUSY_MASK
 
#define UART_STATUS_RX_BUSY_SHIFT
 
#define UART_STATUS_RX_BUSY(val)
 
#define UART_STATUS_RX_PE_MASK
 
#define UART_STATUS_RX_PE_SHIFT
 
#define UART_STATUS_RX_PE(val)
 
SETUP
#define UART_SETUP_PARITY_ENA_MASK
 
#define UART_SETUP_PARITY_ENA_SHIFT
 
#define UART_SETUP_PARITY_ENA(val)
 
#define UART_SETUP_BIT_LENGTH_MASK
 
#define UART_SETUP_BIT_LENGTH_SHIFT
 
#define UART_SETUP_BIT_LENGTH(val)
 
#define UART_SETUP_STOP_BITS_MASK
 
#define UART_SETUP_STOP_BITS_SHIFT
 
#define UART_SETUP_STOP_BITS(val)
 
#define UART_SETUP_TX_ENA_MASK
 
#define UART_SETUP_TX_ENA_SHIFT
 
#define UART_SETUP_TX_ENA(val)
 
#define UART_SETUP_RX_ENA_MASK
 
#define UART_SETUP_RX_ENA_SHIFT
 
#define UART_SETUP_RX_ENA(val)
 
#define UART_SETUP_CLKDIV_MASK
 
#define UART_SETUP_CLKDIV_SHIFT
 
#define UART_SETUP_CLKDIV(val)
 

Macro Definition Documentation

#define UART_SETUP_BIT_LENGTH (   val)
#define UART_SETUP_BIT_LENGTH_MASK

Referenced by hal_uart_bit_length_set().

#define UART_SETUP_BIT_LENGTH_SHIFT
#define UART_SETUP_CLKDIV (   val)
#define UART_SETUP_CLKDIV_MASK

Referenced by hal_uart_clkdiv_set().

#define UART_SETUP_CLKDIV_SHIFT
#define UART_SETUP_PARITY_ENA (   val)
#define UART_SETUP_PARITY_ENA_MASK
#define UART_SETUP_PARITY_ENA_SHIFT
#define UART_SETUP_RX_ENA (   val)
#define UART_SETUP_RX_ENA_MASK
#define UART_SETUP_RX_ENA_SHIFT
#define UART_SETUP_STOP_BITS (   val)
#define UART_SETUP_STOP_BITS_MASK

Referenced by hal_uart_stop_bits_set().

#define UART_SETUP_STOP_BITS_SHIFT
#define UART_SETUP_TX_ENA (   val)
#define UART_SETUP_TX_ENA_MASK
#define UART_SETUP_TX_ENA_SHIFT
#define UART_STATUS_RX_BUSY (   val)
#define UART_STATUS_RX_BUSY_MASK

Referenced by hal_uart_rx_status_get().

#define UART_STATUS_RX_BUSY_SHIFT
#define UART_STATUS_RX_PE (   val)
#define UART_STATUS_RX_PE_MASK
#define UART_STATUS_RX_PE_SHIFT
#define UART_STATUS_TX_BUSY (   val)
#define UART_STATUS_TX_BUSY_MASK

Referenced by hal_uart_tx_status_get().

#define UART_STATUS_TX_BUSY_SHIFT