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

Functions

static uint32_t udma_ctrl_get_clock_gating_register (void)
 
static uint32_t udma_ctrl_get_event_register (void)
 
static void udma_ctrl_cg_disable (uint32_t udma_device_id)
 
static void udma_ctrl_cg_enable (uint32_t udma_device_id)
 
static void udma_ctrl_enable_event_forward (uint8_t udma_evt_nb, uint32_t event_id)
 
static void udma_ctrl_disable_event_forward (uint8_t udma_evt_nb, uint32_t event_id)
 

Function Documentation

static void udma_ctrl_cg_disable ( uint32_t  udma_device_id)
inlinestatic
static void udma_ctrl_cg_enable ( uint32_t  udma_device_id)
inlinestatic

References hal_and32(), and UDMA_GC.

Referenced by __pi_spi_close(), and udma_deinit_device().

static void udma_ctrl_disable_event_forward ( uint8_t  udma_evt_nb,
uint32_t  event_id 
)
inlinestatic
static void udma_ctrl_enable_event_forward ( uint8_t  udma_evt_nb,
uint32_t  event_id 
)
inlinestatic
static uint32_t udma_ctrl_get_clock_gating_register ( void  )
inlinestatic

Small low level driver for ctrl side of udma (cg and event forward)

References hal_read32(), and UDMA_GC.

static uint32_t udma_ctrl_get_event_register ( void  )
inlinestatic

References hal_read32(), and UDMA_GC.