FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
implem/hal/udma/udma_asrc.h File Reference

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)
 

Macro Definition Documentation

#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().

Function Documentation

static void hal_udma_asrc_ctrl_cfg_disable ( uint32_t  device_id,
uint8_t  reg_id 
)
inlinestatic
static void hal_udma_asrc_ctrl_cfg_enable ( uint32_t  device_id,
uint8_t  reg_id 
)
inlinestatic
static uint32_t hal_udma_asrc_ctrl_cfg_get ( uint32_t  device_id,
uint8_t  reg_id 
)
inlinestatic
static void hal_udma_asrc_ctrl_cfg_set ( uint32_t  device_id,
uint8_t  reg_id,
uint8_t  fs_in,
uint8_t  fs_out 
)
inlinestatic
static void hal_udma_asrc_lane_cfg_disable ( uint32_t  device_id,
uint8_t  lane_id 
)
inlinestatic
static void hal_udma_asrc_lane_cfg_enable ( uint32_t  device_id,
uint8_t  lane_id 
)
inlinestatic
static uint32_t hal_udma_asrc_lane_cfg_get ( uint32_t  device_id,
uint8_t  lane_id 
)
inlinestatic
static uint32_t udma_asrc_ctrl_cfg_get ( uint32_t  base,
uint8_t  reg_id 
)
inlinestatic
static void udma_asrc_ctrl_cfg_set ( uint32_t  base,
uint8_t  reg_id,
uint32_t  cfg 
)
inlinestatic
static uint32_t udma_asrc_lane_cfg_get ( uint32_t  base,
uint8_t  reg_id 
)
inlinestatic
static void udma_asrc_lane_cfg_set ( uint32_t  base,
uint8_t  reg_id,
uint32_t  cfg 
)
inlinestatic