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

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)
 

Macro Definition Documentation

#define UDMA_CTRL_EVENT_SHIFT_ID (   id)

Function Documentation

static void hal_udma_ctrl_cfg_event_evt0_set ( uint32_t  val)
inlinestatic
static void hal_udma_ctrl_cfg_event_evt1_set ( uint32_t  val)
inlinestatic
static void hal_udma_ctrl_cfg_event_evt2_set ( uint32_t  val)
inlinestatic
static void hal_udma_ctrl_cfg_event_evt3_set ( uint32_t  val)
inlinestatic
static void hal_udma_ctrl_cg_disable ( uint32_t  device_id)
inlinestatic
static uint32_t hal_udma_ctrl_cg_get ( void  )
inlinestatic

CFG_CG Register

References udma_ctrl, and udma_ctrl_cfg_cg_get().

Referenced by pi_udma_fifo_open().

static void hal_udma_ctrl_datamove0_cfg_set_ids ( uint32_t  src_id,
uint32_t  dest_id 
)
inlinestatic
static void hal_udma_ctrl_datamove0_enable ( void  )
inlinestatic
static void hal_udma_ctrl_datamove0_stop ( void  )
inlinestatic
static void hal_udma_ctrl_datamove1_cfg_set_ids ( uint32_t  src_id,
uint32_t  dest_id 
)
inlinestatic
static void hal_udma_ctrl_datamove1_enable ( void  )
inlinestatic
static void hal_udma_ctrl_datamove1_stop ( void  )
inlinestatic
static void hal_udma_ctrl_fifo_pop16 ( uint16_t *  val)
inlinestatic
static void hal_udma_ctrl_fifo_pop24 ( uint32_t *  val)
inlinestatic
static void hal_udma_ctrl_fifo_pop32 ( uint32_t *  val)
inlinestatic
static void hal_udma_ctrl_fifo_pop8 ( uint8_t *  val)
inlinestatic
static void hal_udma_ctrl_fifo_push16 ( uint16_t  val)
inlinestatic
static void hal_udma_ctrl_fifo_push24 ( uint32_t  val)
inlinestatic
static void hal_udma_ctrl_fifo_push32 ( uint32_t  val)
inlinestatic
static void hal_udma_ctrl_fifo_push8 ( uint8_t  val)
inlinestatic
static void hal_udma_ctrl_reset_clear ( uint32_t  device_id)
inlinestatic
static void hal_udma_ctrl_reset_disable ( uint32_t  udma_device_id)
inlinestatic
static void hal_udma_ctrl_reset_enable ( uint32_t  udma_device_id)
inlinestatic
static void hal_udma_ctrl_reset_set ( uint32_t  device_id)
inlinestatic
static void hal_udma_ctrl_set_pop_fifo ( uint32_t  fifo_id)
inlinestatic
static void hal_udma_ctrl_set_push_fifo ( uint32_t  fifo_id)
inlinestatic
static void hal_udma_ctrl_timeout_mode_set ( uint8_t  timeout_id,
uint8_t  mode 
)
inlinestatic
static uint32_t hal_udma_ctrl_timeout_prescaler_enabled ( uint8_t  timeout_id)
inlinestatic
static void hal_udma_ctrl_timeout_prescaler_reset ( uint8_t  timeout_id)
inlinestatic
static void hal_udma_ctrl_timeout_prescaler_set ( uint8_t  timeout_id,
uint16_t  presc_value,
uint8_t  enable 
)
inlinestatic
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 
)
inlinestatic
static void hal_udma_ctrl_timeout_timeout_start ( uint8_t  timeout_id)
inlinestatic
static void hal_udma_ctrl_timeout_timeout_stop ( uint8_t  timeout_id)
inlinestatic