FreeRTOS port on GAP8/RISC-V
|
Macros | |
#define | UART_CTRL_FLOW_DIS |
#define | UART_CTRL_FLOW_ENA |
#define | UART_USART_DIS |
#define | UART_USART_ENA |
Functions | |
static void | hal_udma_uart_rx_dest_set (uint32_t device_id, int32_t udma_chan_id) |
static uint32_t | hal_udma_uart_rx_dest_get (uint32_t device_id) |
static void | hal_udma_uart_tx_dest_set (uint32_t device_id, int32_t udma_chan_id) |
static uint32_t | hal_udma_uart_tx_dest_get (uint32_t device_id) |
static uint32_t | hal_udma_uart_status_get (uint32_t device_id) |
static uint32_t | hal_udma_uart_tx_status_get (uint32_t device_id) |
static uint32_t | hal_udma_uart_rx_status_get (uint32_t device_id) |
static uint32_t | hal_udma_uart_setup_get (uint32_t device_id) |
static void | hal_udma_uart_setup_mask_set (uint32_t device_id, uint32_t setup) |
static void | hal_udma_uart_setup_set (uint32_t device_id, uint8_t parity_ena, uint8_t bit_length, uint8_t stop_bits, uint8_t tx_ena, uint8_t rx_ena, uint8_t cts_en, uint8_t rts_en, uint8_t tx_clk_en, uint8_t tx_clk_pol, uint8_t tx_clk_pha, uint16_t clkdiv) |
static void | hal_udma_uart_clk_div_set (uint32_t device_id, uint16_t clkdiv) |
static void | hal_udma_uart_rx_enable (uint32_t device_id) |
static void | hal_udma_uart_rx_disable (uint32_t device_id) |
static void | hal_udma_uart_tx_enable (uint32_t device_id) |
static void | hal_udma_uart_tx_disable (uint32_t device_id) |
static void | hal_udma_uart_flow_control_enable (uint32_t device_id) |
static void | hal_udma_uart_flow_control_disable (uint32_t device_id) |
static uint32_t | hal_udma_uart_error_get (uint32_t device_id) |
static void | hal_udma_uart_irq_enable (uint32_t device_id) |
static void | hal_udma_uart_irq_disable (uint32_t device_id) |
static uint32_t | hal_udma_uart_rts_limit_get (uint32_t device_id) |
static void | hal_udma_uart_rts_limit_set (uint32_t device_id, uint8_t limit) |
static void | hal_udma_uart_enqueue (uint32_t device_id, uint32_t l2_buf_0, uint32_t l2_buf_1, uint32_t size, uint32_t cfg, udma_channel_e channel) |
#define UART_CTRL_FLOW_DIS |
Referenced by __pi_uart_conf_init().
#define UART_CTRL_FLOW_ENA |
#define UART_USART_DIS |
Referenced by __pi_uart_conf_init().
#define UART_USART_ENA |
|
inlinestatic |
References udma_uart, udma_uart_setup_get(), and udma_uart_setup_set().
|
inlinestatic |
UDMA ENQUEUE.
References hal_udma_core_lin_enqueue(), hal_udma_core_lin_get(), hal_udma_uart_rx_dest_get(), hal_udma_uart_tx_dest_get(), and RX_CHANNEL.
Referenced by __pi_uart_copy_exec(), and __pi_uart_handler().
|
inlinestatic |
ERROR Register.
References udma_uart, and udma_uart_error_get().
Referenced by __pi_uart_error_handler().
|
inlinestatic |
References udma_uart, udma_uart_setup_get(), and udma_uart_setup_set().
|
inlinestatic |
References udma_uart, udma_uart_setup_get(), and udma_uart_setup_set().
Referenced by __pi_uart_flow_control_enable().
|
inlinestatic |
References udma_uart, and udma_uart_irq_en_set().
Referenced by __pi_uart_close().
|
inlinestatic |
IRQ_EN Register.
References udma_uart, UDMA_UART_IRQ_EN_ERR_IRQ, UDMA_UART_IRQ_EN_RX_IRQ, and udma_uart_irq_en_set().
Referenced by __pi_uart_open().
|
inlinestatic |
SETUP_2 Register.
References udma_uart, and udma_uart_setup_2_get().
Referenced by __pi_uart_conf_set().
|
inlinestatic |
References udma_uart, and udma_uart_setup_2_set().
Referenced by __pi_uart_conf_set().
|
inlinestatic |
References udma_uart, and udma_uart_rx_dest_get().
Referenced by hal_udma_uart_enqueue().
|
inlinestatic |
RX_DEST Register.
References UDMA_CORE_LIN_DEFAULT, udma_uart, and udma_uart_rx_dest_set().
Referenced by __pi_uart_close(), and __pi_uart_conf_set().
|
inlinestatic |
References udma_uart, udma_uart_setup_get(), and udma_uart_setup_set().
Referenced by __pi_uart_rx_abort(), and __pi_uart_rx_timeout_abort().
|
inlinestatic |
References udma_uart, udma_uart_setup_get(), and udma_uart_setup_set().
Referenced by __pi_uart_rx_enable(), and __pi_uart_rx_timeout_abort().
|
inlinestatic |
References udma_uart, udma_uart_status_get(), UDMA_UART_STATUS_RX_BUSY_BIT, and UDMA_UART_STATUS_RX_BUSY_MASK.
|
inlinestatic |
SETUP Register.
References udma_uart, and udma_uart_setup_get().
Referenced by __pi_uart_conf_set().
|
inlinestatic |
References udma_uart, and udma_uart_setup_set().
Referenced by __pi_uart_conf_set().
|
inlinestatic |
References udma_uart, and udma_uart_setup_set().
|
inlinestatic |
STATUS Register.
References udma_uart, and udma_uart_status_get().
|
inlinestatic |
References udma_uart, and udma_uart_tx_dest_get().
Referenced by hal_udma_uart_enqueue().
|
inlinestatic |
TX_DEST Register.
References UDMA_CORE_LIN_DEFAULT, udma_uart, and udma_uart_tx_dest_set().
Referenced by __pi_uart_close(), and __pi_uart_conf_set().
|
inlinestatic |
References udma_uart, udma_uart_setup_get(), and udma_uart_setup_set().
Referenced by __pi_uart_tx_abort(), and __pi_uart_tx_timeout_abort().
|
inlinestatic |
References udma_uart, udma_uart_setup_get(), and udma_uart_setup_set().
Referenced by __pi_uart_tx_enable(), and __pi_uart_tx_timeout_abort().
|
inlinestatic |
References udma_uart, udma_uart_status_get(), and UDMA_UART_STATUS_TX_BUSY_MASK.
Referenced by __pi_uart_close(), and __pi_uart_tx_flush().