FreeRTOS port on GAP8/RISC-V
|
Functions | |
static void | uart_udma_channel_set (uint32_t device_id, uint32_t l2_buf, uint32_t size, uint32_t cfg, udma_channel_e channel) |
static uint32_t | uart_status_get (uint32_t device_id) |
static void | uart_setup_set (uint32_t device_id, uint32_t setup) |
static uint32_t | uart_setup_get (uint32_t device_id) |
static void | hal_uart_parity_enable (uint32_t device_id) |
static void | hal_uart_parity_disable (uint32_t device_id) |
static void | hal_uart_bit_length_set (uint32_t device_id, uint8_t bit_length) |
static void | hal_uart_stop_bits_set (uint32_t device_id, uint8_t stop_bits) |
static void | hal_uart_tx_enable (uint32_t device_id) |
static void | hal_uart_tx_disable (uint32_t device_id) |
static void | hal_uart_rx_enable (uint32_t device_id) |
static void | hal_uart_rx_disable (uint32_t device_id) |
static void | hal_uart_clkdiv_set (uint32_t device_id, uint16_t clk_div) |
static void | hal_uart_setup_set (uint32_t device_id, uint16_t clk_div, uint8_t rx_ena, uint8_t tx_ena, uint8_t stop_bits, uint8_t bit_length, uint8_t parity_ena) |
static uint32_t | hal_uart_tx_status_get (uint32_t device_id) |
static uint32_t | hal_uart_rx_status_get (uint32_t device_id) |
static uint32_t | hal_uart_rx_parity_error_get (uint32_t device_id) |
static void | hal_uart_enqueue (uint32_t device_id, uint32_t l2_buf, uint32_t size, uint32_t cfg, udma_channel_e channel) |
static void | hal_uart_rx_clear (uint32_t device_id) |
static void | hal_uart_tx_clear (uint32_t device_id) |
|
inlinestatic |
References UART_SETUP_BIT_LENGTH, UART_SETUP_BIT_LENGTH_MASK, uart_setup_get(), and uart_setup_set().
|
inlinestatic |
References UART_SETUP_CLKDIV, UART_SETUP_CLKDIV_MASK, uart_setup_get(), and uart_setup_set().
Referenced by __pi_uart_freq_cb().
|
inlinestatic |
UDMA.
References uart_udma_channel_set(), and UDMA_CORE_RX_CFG_EN.
Referenced by __pi_uart_copy_exec().
|
inlinestatic |
References uart_setup_get(), UART_SETUP_PARITY_ENA, and uart_setup_set().
|
inlinestatic |
SETUP.
References uart_setup_get(), UART_SETUP_PARITY_ENA, and uart_setup_set().
|
inlinestatic |
References RX_CHANNEL, uart, and udma_channel_clear().
Referenced by __pi_uart_rx_abort().
|
inlinestatic |
References uart_setup_get(), UART_SETUP_RX_ENA, and uart_setup_set().
Referenced by __pi_uart_freq_cb(), and __pi_uart_rx_abort().
|
inlinestatic |
References uart_setup_get(), UART_SETUP_RX_ENA, and uart_setup_set().
Referenced by __pi_uart_channel_enable(), and __pi_uart_freq_cb().
|
inlinestatic |
References uart_status_get(), and UART_STATUS_RX_PE_MASK.
|
inlinestatic |
References uart_status_get(), and UART_STATUS_RX_BUSY_MASK.
Referenced by __pi_uart_freq_cb().
|
inlinestatic |
References UART_SETUP_BIT_LENGTH, UART_SETUP_CLKDIV, UART_SETUP_PARITY_ENA, UART_SETUP_RX_ENA, uart_setup_set(), UART_SETUP_STOP_BITS, and UART_SETUP_TX_ENA.
Referenced by __pi_uart_conf_set().
|
inlinestatic |
References uart_setup_get(), uart_setup_set(), UART_SETUP_STOP_BITS, and UART_SETUP_STOP_BITS_MASK.
|
inlinestatic |
References TX_CHANNEL, uart, and udma_channel_clear().
Referenced by __pi_uart_tx_abort().
|
inlinestatic |
References uart_setup_get(), uart_setup_set(), and UART_SETUP_TX_ENA.
Referenced by __pi_uart_freq_cb(), and __pi_uart_tx_abort().
|
inlinestatic |
References uart_setup_get(), uart_setup_set(), and UART_SETUP_TX_ENA.
Referenced by __pi_uart_channel_enable(), and __pi_uart_freq_cb().
|
inlinestatic |
STATUS.
References uart_status_get(), and UART_STATUS_TX_BUSY_MASK.
Referenced by __pi_uart_close(), and __pi_uart_freq_cb().
|
inlinestatic |
|
inlinestatic |
Setup Register.
References hal_write32(), and uart.
Referenced by hal_uart_bit_length_set(), hal_uart_clkdiv_set(), hal_uart_parity_disable(), hal_uart_parity_enable(), hal_uart_rx_disable(), hal_uart_rx_enable(), hal_uart_setup_set(), hal_uart_stop_bits_set(), hal_uart_tx_disable(), and hal_uart_tx_enable().
|
inlinestatic |
Status Register.
References hal_read32(), and uart.
Referenced by hal_uart_rx_parity_error_get(), hal_uart_rx_status_get(), and hal_uart_tx_status_get().
|
inlinestatic |
UART udma configuration.
References uart, and udma_enqueue_channel().
Referenced by hal_uart_enqueue().