FreeRTOS port on GAP8/RISC-V
|
Macros | |
#define | ASRC_MEM_STREAM |
#define | ASRC_I2S_STREAM |
#define | ASRC_NB_LANE |
#define | ASRC_NB_CHAN_PER_LANE |
Functions | |
static uint32_t | udma_asrc_ctrl_cfg_get (uint32_t base, uint8_t reg_id) |
static void | udma_asrc_ctrl_cfg_set (uint32_t base, uint8_t reg_id, uint32_t cfg) |
static uint32_t | hal_udma_asrc_ctrl_cfg_get (uint32_t device_id, uint8_t reg_id) |
static void | hal_udma_asrc_ctrl_cfg_set (uint32_t device_id, uint8_t reg_id, uint8_t fs_in, uint8_t fs_out) |
static void | hal_udma_asrc_ctrl_cfg_enable (uint32_t device_id, uint8_t reg_id) |
static void | hal_udma_asrc_ctrl_cfg_disable (uint32_t device_id, uint8_t reg_id) |
static uint32_t | udma_asrc_lane_cfg_get (uint32_t base, uint8_t reg_id) |
static void | udma_asrc_lane_cfg_set (uint32_t base, uint8_t reg_id, uint32_t cfg) |
static uint32_t | hal_udma_asrc_lane_cfg_get (uint32_t device_id, uint8_t lane_id) |
static void | hal_udma_asrc_lane_cfg_set (uint32_t device_id, uint8_t lane_id, uint8_t ctrl, uint8_t stream_in, uint8_t stream_out, uint8_t chan_en) |
static void | hal_udma_asrc_lane_cfg_enable (uint32_t device_id, uint8_t lane_id) |
static void | hal_udma_asrc_lane_cfg_disable (uint32_t device_id, uint8_t lane_id) |
#define ASRC_I2S_STREAM |
#define ASRC_MEM_STREAM |
#define ASRC_NB_CHAN_PER_LANE |
Referenced by __pi_asrc_conf_apply().
#define ASRC_NB_LANE |
Referenced by __pi_asrc_conf_apply().
|
inlinestatic |
|
inlinestatic |
References udma_asrc, UDMA_ASRC_CTRL_CFG_0_CLK_EN, UDMA_ASRC_CTRL_CFG_0_RSTN, udma_asrc_ctrl_cfg_get(), and udma_asrc_ctrl_cfg_set().
Referenced by __pi_asrc_conversion_start().
|
inlinestatic |
References udma_asrc, and udma_asrc_ctrl_cfg_get().
Referenced by __pi_asrc_conf_apply(), and __pi_asrc_conversion_start().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
References udma_asrc, UDMA_ASRC_LANE_CFG_0_CLK_EN, UDMA_ASRC_LANE_CFG_0_RSTN, udma_asrc_lane_cfg_get(), and udma_asrc_lane_cfg_set().
Referenced by __pi_asrc_conversion_start().
|
inlinestatic |
References udma_asrc, and udma_asrc_lane_cfg_get().
Referenced by __pi_asrc_conf_apply(), and __pi_asrc_conversion_start().
|
inlinestatic |
References udma_asrc, UDMA_ASRC_LANE_CFG_0_CH_EN, UDMA_ASRC_LANE_CFG_0_CTRL_MUX, UDMA_ASRC_LANE_CFG_0_DROP_ON_WAIT, UDMA_ASRC_LANE_CFG_0_DROP_ON_WAIT_RESET, UDMA_ASRC_LANE_CFG_0_USE_STREAM_IN, UDMA_ASRC_LANE_CFG_0_USE_STREAM_OUT, UDMA_ASRC_LANE_CFG_0_WAIT_LOCK_IN, UDMA_ASRC_LANE_CFG_0_WAIT_LOCK_IN_RESET, UDMA_ASRC_LANE_CFG_0_WAIT_LOCK_OUT, UDMA_ASRC_LANE_CFG_0_WAIT_LOCK_OUT_RESET, and udma_asrc_lane_cfg_set().
Referenced by __pi_asrc_conf_apply().
|
inlinestatic |
References GAP_READ, and UDMA_ASRC_CTRL_CFG_0_OFFSET.
Referenced by hal_udma_asrc_ctrl_cfg_disable(), hal_udma_asrc_ctrl_cfg_enable(), and hal_udma_asrc_ctrl_cfg_get().
|
inlinestatic |
References GAP_WRITE, and UDMA_ASRC_CTRL_CFG_0_OFFSET.
Referenced by hal_udma_asrc_ctrl_cfg_disable(), hal_udma_asrc_ctrl_cfg_enable(), and hal_udma_asrc_ctrl_cfg_set().
|
inlinestatic |
References GAP_READ, and UDMA_ASRC_LANE_CFG_0_OFFSET.
Referenced by hal_udma_asrc_lane_cfg_disable(), hal_udma_asrc_lane_cfg_enable(), and hal_udma_asrc_lane_cfg_get().
|
inlinestatic |
References GAP_WRITE, and UDMA_ASRC_LANE_CFG_0_OFFSET.
Referenced by hal_udma_asrc_lane_cfg_disable(), hal_udma_asrc_lane_cfg_enable(), and hal_udma_asrc_lane_cfg_set().