FreeRTOS port on GAP8/RISC-V
|
Data Fields | |
struct pi_task * | fifo_head [2] |
struct pi_task * | fifo_tail [2] |
uint32_t | nb_open |
uint32_t | device_id |
uint32_t | baudrate_bps |
pi_freq_cb_t | uart_freq_cb |
uint8_t | flow_ctrl_ena |
pi_udma_fifo_t | udma_chan [2] |
uint8_t | usart_mode |
int8_t | udma_chan_id_rx |
int8_t | udma_chan_id_tx |
int8_t | udma_timer_id_rx |
int8_t | udma_timer_id_tx |
pi_task : data[0] = l2_buf data[1] = size data[2] = channel data[3] = udma_cfg data[4] = device_id (used for delegation)
uint32_t uart_itf_data_s::baudrate_bps |
Current baudrate.
Referenced by __pi_uart_conf_set(), __pi_uart_freq_cb(), and __pi_uart_open().
uint32_t uart_itf_data_s::device_id |
Device ID.
Referenced by __pi_uart_channel_enable(), __pi_uart_close(), __pi_uart_conf_set(), __pi_uart_copy(), __pi_uart_copy_exec(), __pi_uart_error_handler(), __pi_uart_flow_control_enable(), __pi_uart_freq_cb(), __pi_uart_handler(), __pi_uart_open(), __pi_uart_rx_abort(), __pi_uart_rx_enable(), __pi_uart_rx_timeout_abort(), __pi_uart_tx_abort(), __pi_uart_tx_enable(), __pi_uart_tx_flush(), __pi_uart_tx_timeout_abort(), pi_uart_close(), pi_uart_ioctl(), pi_uart_read_async(), and pi_uart_write_async().
struct pi_task* uart_itf_data_s::fifo_head[2] |
0 = RX | 1 = TX.
Referenced by __pi_uart_handler(), __pi_uart_rx_abort(), __pi_uart_task_fifo_enqueue(), __pi_uart_task_fifo_pop(), and __pi_uart_tx_abort().
struct pi_task* uart_itf_data_s::fifo_tail[2] |
0 = RX | 1 = TX.
Referenced by __pi_uart_rx_abort(), __pi_uart_task_fifo_enqueue(), __pi_uart_task_fifo_pop(), and __pi_uart_tx_abort().
uint8_t uart_itf_data_s::flow_ctrl_ena |
Flow control enable?
Flow control enable
Referenced by __pi_uart_conf_set(), __pi_uart_copy(), __pi_uart_flow_control_enable(), __pi_uart_handler(), and __pi_uart_open().
uint32_t uart_itf_data_s::nb_open |
Number of times device has been opened.
Referenced by __pi_uart_close(), and __pi_uart_open().
pi_freq_cb_t uart_itf_data_s::uart_freq_cb |
Callback associated to frequency changes.
Referenced by __pi_uart_close(), and __pi_uart_open().
pi_udma_fifo_t uart_itf_data_s::udma_chan[2] |
0 = RX | 1 = TX.
Referenced by __pi_uart_copy(), __pi_uart_copy_exec(), __pi_uart_handler(), __pi_uart_open(), __pi_uart_rx_abort(), __pi_uart_rx_timeout_abort(), __pi_uart_tx_abort(), and __pi_uart_tx_timeout_abort().
int8_t uart_itf_data_s::udma_chan_id_rx |
UDMA RX channel ID.
Referenced by __pi_uart_close(), __pi_uart_conf_set(), __pi_uart_copy_exec(), __pi_uart_open(), __pi_uart_rx_abort(), and __pi_uart_rx_timeout_abort().
int8_t uart_itf_data_s::udma_chan_id_tx |
UDMA TX channel ID.
Referenced by __pi_uart_close(), __pi_uart_conf_set(), __pi_uart_copy_exec(), __pi_uart_tx_abort(), and __pi_uart_tx_timeout_abort().
int8_t uart_itf_data_s::udma_timer_id_rx |
UDMA timeout RX.
Referenced by __pi_uart_copy_exec(), __pi_uart_open(), and __pi_uart_udma_timeout_rx_set().
int8_t uart_itf_data_s::udma_timer_id_tx |
UDMA timeout TX.
Referenced by __pi_uart_copy_exec(), __pi_uart_open(), and __pi_uart_udma_timeout_tx_set().
uint8_t uart_itf_data_s::usart_mode |
USART mode.
Referenced by __pi_uart_conf_set().