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/cluster/cluster_ctrl_unit.h File Reference

Functions

static void hal_cl_ctrl_fetch_enable (uint32_t device_id, uint32_t nb_core)
 
static void hal_cl_ctrl_fetch_mask_enable (uint32_t device_id, uint32_t core_mask)
 
static void hal_cl_ctrl_clock_gate_enable (uint32_t device_id)
 
static void hal_cl_ctrl_clock_gate_disable (uint32_t device_id)
 
static void hal_cl_ctrl_boot_addr_set (uint32_t device_id, uint8_t core_id, uint32_t boot_addr)
 

Function Documentation

static void hal_cl_ctrl_boot_addr_set ( uint32_t  device_id,
uint8_t  core_id,
uint32_t  boot_addr 
)
inlinestatic

Boot address.

References CL_CTRL_UNIT_BOOT_ADDR_0, hal_write32(), and offset.

Referenced by __cluster_start().

static void hal_cl_ctrl_clock_gate_disable ( uint32_t  device_id)
inlinestatic
static void hal_cl_ctrl_clock_gate_enable ( uint32_t  device_id)
inlinestatic
static void hal_cl_ctrl_fetch_enable ( uint32_t  device_id,
uint32_t  nb_core 
)
inlinestatic

Fetch enable.

References ARCHI_CLUSTER_PE_MASK, CL_CTRL_UNIT_FETCH_EN, and hal_write32().

Referenced by __cluster_start().

static void hal_cl_ctrl_fetch_mask_enable ( uint32_t  device_id,
uint32_t  core_mask 
)
inlinestatic