FreeRTOS port on GAP8/RISC-V
|
Macros | |
#define | UDMA_CTRL_EVENT_SHIFT_ID(id) |
Functions | |
static uint32_t | hal_udma_ctrl_cg_get (void) |
static void | hal_udma_ctrl_cg_disable (uint32_t device_id) |
static void | hal_udma_ctrl_cg_enable (uint32_t device_id) |
static void | hal_udma_ctrl_reset_set (uint32_t device_id) |
static void | hal_udma_ctrl_reset_disable (uint32_t udma_device_id) |
static void | hal_udma_ctrl_reset_clear (uint32_t device_id) |
static void | hal_udma_ctrl_reset_enable (uint32_t udma_device_id) |
static void | hal_udma_ctrl_set_push_fifo (uint32_t fifo_id) |
static void | hal_udma_ctrl_set_pop_fifo (uint32_t fifo_id) |
static void | hal_udma_ctrl_fifo_push8 (uint8_t val) |
static void | hal_udma_ctrl_fifo_pop8 (uint8_t *val) |
static void | hal_udma_ctrl_fifo_push16 (uint16_t val) |
static void | hal_udma_ctrl_fifo_pop16 (uint16_t *val) |
static void | hal_udma_ctrl_fifo_push24 (uint32_t val) |
static void | hal_udma_ctrl_fifo_pop24 (uint32_t *val) |
static void | hal_udma_ctrl_fifo_push32 (uint32_t val) |
static void | hal_udma_ctrl_fifo_pop32 (uint32_t *val) |
static void | hal_udma_ctrl_datamove0_cfg_set_ids (uint32_t src_id, uint32_t dest_id) |
static void | hal_udma_ctrl_datamove0_enable (void) |
static void | hal_udma_ctrl_datamove0_stop (void) |
static void | hal_udma_ctrl_datamove1_cfg_set_ids (uint32_t src_id, uint32_t dest_id) |
static void | hal_udma_ctrl_datamove1_enable (void) |
static void | hal_udma_ctrl_datamove1_stop (void) |
static void | hal_udma_ctrl_cfg_event_evt0_set (uint32_t val) |
static void | hal_udma_ctrl_cfg_event_evt1_set (uint32_t val) |
static void | hal_udma_ctrl_cfg_event_evt2_set (uint32_t val) |
static void | hal_udma_ctrl_cfg_event_evt3_set (uint32_t val) |
static uint32_t | hal_udma_ctrl_timeout_prescaler_enabled (uint8_t timeout_id) |
static void | hal_udma_ctrl_timeout_prescaler_set (uint8_t timeout_id, uint16_t presc_value, uint8_t enable) |
static void | hal_udma_ctrl_timeout_prescaler_reset (uint8_t timeout_id) |
static void | hal_udma_ctrl_timeout_timeout_set (uint8_t timeout_id, uint8_t udma_chan_id, uint8_t mode, uint16_t timeout_val, uint8_t enable) |
static void | hal_udma_ctrl_timeout_mode_set (uint8_t timeout_id, uint8_t mode) |
static void | hal_udma_ctrl_timeout_timeout_start (uint8_t timeout_id) |
static void | hal_udma_ctrl_timeout_timeout_stop (uint8_t timeout_id) |
#define UDMA_CTRL_EVENT_SHIFT_ID | ( | id | ) |
|
inlinestatic |
References UDMA_CTRL_ADDR, and udma_ctrl_cfg_event_cmp_evt0_set().
Referenced by __pi_udma_evt_cfg_init(), and __pi_udma_timestamp_evt_cfg().
|
inlinestatic |
References UDMA_CTRL_ADDR, and udma_ctrl_cfg_event_cmp_evt1_set().
Referenced by __pi_udma_evt_cfg_init(), and __pi_udma_timestamp_evt_cfg().
|
inlinestatic |
References UDMA_CTRL_ADDR, and udma_ctrl_cfg_event_cmp_evt2_set().
Referenced by __pi_udma_evt_cfg_init(), and __pi_udma_timestamp_evt_cfg().
|
inlinestatic |
References UDMA_CTRL_ADDR, and udma_ctrl_cfg_event_cmp_evt3_set().
Referenced by __pi_udma_evt_cfg_init(), and __pi_udma_timestamp_evt_cfg().
|
inlinestatic |
CFG_CG_SET Register.
References udma_ctrl, and udma_ctrl_cfg_cg_set_set().
Referenced by __pi_aes_open(), __pi_asrc_open(), __pi_cpi_open(), __pi_hyper_open(), __pi_i2c_open(), __pi_i2c_slave_open(), __pi_i2s_open(), __pi_octospi_open(), __pi_uart_open(), pi_ffc_open(), and pi_udma_timestamp_open().
|
inlinestatic |
CFG_CG_CLR Register.
References udma_ctrl, and udma_ctrl_cfg_cg_clr_set().
Referenced by __pi_aes_close(), __pi_asrc_close(), __pi_cpi_close(), __pi_hyper_close(), __pi_i2c_close(), __pi_i2c_slave_close(), __pi_i2s_close(), __pi_octospi_close(), __pi_uart_close(), pi_ffc_close(), and pi_udma_timestamp_close().
|
inlinestatic |
CFG_CG Register
References udma_ctrl, and udma_ctrl_cfg_cg_get().
Referenced by pi_udma_fifo_open().
|
inlinestatic |
References UDMA_CTRL_ADDR, udma_ctrl_datamove_cfg_dest_id_0_set(), and udma_ctrl_datamove_cfg_source_id_0_set().
Referenced by __pi_udma_datamove_copy_start().
|
inlinestatic |
References UDMA_CTRL_ADDR, and udma_ctrl_datamove0_size_en_set().
Referenced by __pi_udma_datamove_copy_start().
|
inlinestatic |
References UDMA_CTRL_ADDR, and udma_ctrl_datamove0_size_stop_set().
Referenced by __pi_udma_datamove_event_handler().
|
inlinestatic |
References UDMA_CTRL_ADDR, udma_ctrl_datamove_cfg_dest_id_1_set(), and udma_ctrl_datamove_cfg_source_id_1_set().
Referenced by __pi_udma_datamove_copy_start().
|
inlinestatic |
References UDMA_CTRL_ADDR, and udma_ctrl_datamove1_size_en_set().
Referenced by __pi_udma_datamove_copy_start().
|
inlinestatic |
References UDMA_CTRL_ADDR, and udma_ctrl_datamove1_size_stop_set().
Referenced by __pi_udma_datamove_event_handler().
|
inlinestatic |
References UDMA_CTRL_ADDR, and udma_ctrl_fifo_pushpop_16_get().
Referenced by __pi_udma_fifo_pop16().
|
inlinestatic |
References UDMA_CTRL_ADDR, and udma_ctrl_fifo_pushpop_24_get().
Referenced by __pi_udma_fifo_pop24().
|
inlinestatic |
References UDMA_CTRL_ADDR, and udma_ctrl_fifo_pushpop_32_get().
Referenced by __pi_udma_fifo_pop32().
|
inlinestatic |
References UDMA_CTRL_ADDR, and udma_ctrl_fifo_pushpop_8_get().
Referenced by __pi_udma_fifo_pop8().
|
inlinestatic |
References UDMA_CTRL_ADDR, and udma_ctrl_fifo_pushpop_16_set().
Referenced by __pi_udma_fifo_push16().
|
inlinestatic |
References UDMA_CTRL_ADDR, and udma_ctrl_fifo_pushpop_24_set().
Referenced by __pi_udma_fifo_push24().
|
inlinestatic |
References UDMA_CTRL_ADDR, and udma_ctrl_fifo_pushpop_32_set().
Referenced by __pi_udma_fifo_push32().
|
inlinestatic |
References UDMA_CTRL_ADDR, and udma_ctrl_fifo_pushpop_8_set().
Referenced by __pi_udma_fifo_push8().
|
inlinestatic |
CFG_RSTN_CLR Register.
References udma_ctrl, and udma_ctrl_cfg_rstn_clr_set().
Referenced by __pi_asrc_close(), __pi_cpi_close(), __pi_hyper_close(), __pi_i2s_close(), __pi_octospi_close(), __pi_uart_close(), hal_udma_ctrl_reset_enable(), and pi_udma_timestamp_close().
|
inlinestatic |
References hal_udma_ctrl_reset_set().
Referenced by __pi_aes_open(), __pi_i2c_open(), __pi_i2c_slave_open(), and pi_ffc_open().
|
inlinestatic |
References hal_udma_ctrl_reset_clear().
Referenced by __pi_aes_close(), __pi_i2c_close(), __pi_i2c_slave_close(), and pi_ffc_close().
|
inlinestatic |
CFG_RSTN_SET Register.
References udma_ctrl, and udma_ctrl_cfg_rstn_set_set().
Referenced by __pi_asrc_open(), __pi_cpi_open(), __pi_hyper_open(), __pi_i2s_open(), __pi_octospi_open(), __pi_uart_open(), hal_udma_ctrl_reset_disable(), and pi_udma_timestamp_open().
|
inlinestatic |
References UDMA_CTRL_ADDR, and udma_ctrl_fifo_cfg_pop_id_set().
Referenced by __pi_udma_fifo_pop16(), __pi_udma_fifo_pop24(), __pi_udma_fifo_pop32(), and __pi_udma_fifo_pop8().
|
inlinestatic |
References UDMA_CTRL_ADDR, and udma_ctrl_fifo_cfg_push_id_set().
Referenced by __pi_udma_fifo_push16(), __pi_udma_fifo_push24(), __pi_udma_fifo_push32(), and __pi_udma_fifo_push8().
|
inlinestatic |
References GAP_READ, GAP_WRITE, udma_ctrl, and UDMA_CTRL_TIMEOUT_CH0_OFFSET.
|
inlinestatic |
TIMEOUT_PRE Register.
References GAP_READ, udma_ctrl, UDMA_CTRL_TIMEOUT_PRE0_EN_BIT, UDMA_CTRL_TIMEOUT_PRE0_EN_MASK, and UDMA_CTRL_TIMEOUT_PRE0_OFFSET.
Referenced by pi_udma_timeout_config_set().
|
inlinestatic |
References GAP_WRITE, udma_ctrl, UDMA_CTRL_TIMEOUT_PRE0_CLR, and UDMA_CTRL_TIMEOUT_PRE0_OFFSET.
|
inlinestatic |
References GAP_WRITE, udma_ctrl, UDMA_CTRL_TIMEOUT_PRE0_CNT, UDMA_CTRL_TIMEOUT_PRE0_EN, and UDMA_CTRL_TIMEOUT_PRE0_OFFSET.
Referenced by pi_udma_timeout_config_set().
|
inlinestatic |
TIMEOUT_CHX Register.
References GAP_WRITE, udma_ctrl, UDMA_CTRL_TIMEOUT_CH0_CNT, UDMA_CTRL_TIMEOUT_CH0_EN, UDMA_CTRL_TIMEOUT_CH0_MODE, UDMA_CTRL_TIMEOUT_CH0_OFFSET, and UDMA_CTRL_TIMEOUT_CH0_SOURCE_ID.
Referenced by pi_udma_timeout_config_set().
|
inlinestatic |
References GAP_READ, GAP_WRITE, udma_ctrl, and UDMA_CTRL_TIMEOUT_CH0_OFFSET.
Referenced by __pi_udma_timeout_start().
|
inlinestatic |
References GAP_READ, GAP_WRITE, udma_ctrl, and UDMA_CTRL_TIMEOUT_CH0_OFFSET.
Referenced by __pi_udma_timeout_stop().