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

Macros

#define pulp_read32
 
#define pulp_write32
 
#define hal_itc_wait_for_event_noirq
 
#define hal_itc_wait_for_event
 

Functions

static void hal_compiler_barrier ()
 
static void hal_write32 (volatile void *addr, uint32_t value)
 
static void hal_write8 (volatile void *addr, uint32_t value)
 
static void hal_or32 (volatile void *addr, uint32_t value)
 
static void hal_and32 (volatile void *addr, uint32_t value)
 
static uint32_t hal_read32 (volatile void *addr)
 
static uint8_t hal_read8 (volatile void *addr)
 
static uint32_t pi_core_id ()
 
static uint32_t pi_cluster_id ()
 
static uint32_t pi_is_fc ()
 
static uint32_t pi_cl_cluster_nb_pe_cores (void)
 
static int pi_cl_cluster_nb_cores ()
 

Macro Definition Documentation

#define hal_itc_wait_for_event
#define hal_itc_wait_for_event_noirq
#define pulp_read32
#define pulp_write32

Function Documentation

static void hal_and32 ( volatile void *  addr,
uint32_t  value 
)
inlinestatic
static void hal_or32 ( volatile void *  addr,
uint32_t  value 
)
inlinestatic
static uint32_t hal_read32 ( volatile void *  addr)
inlinestatic

References hal_compiler_barrier().

Referenced by __attribute__(), __pi_spi_send_async(), __pi_spi_send_async_with_ucode(), __pi_spi_xfer_async(), __spi_cpy_send_aligned(), __spi_cpy_send_misaligned(), cl_dma_cmd_get(), cl_dma_status_get(), cpi_cfg_filter_get(), cpi_cfg_glob_get(), cpi_cfg_ll_get(), cpi_cfg_size_get(), cpi_cfg_ur_get(), dmacpy_dst_addr_get(), dmacpy_mem_sel_get(), dmacpy_src_addr_get(), fll_ctrl_conf1_get(), fll_ctrl_conf2_get(), fll_ctrl_integrator_get(), fll_ctrl_status_get(), gpio_gpioen_get(), gpio_inten_get(), gpio_intstatus_get(), gpio_inttype_get(), gpio_padcfg_get(), gpio_paddir_get(), gpio_padin_get(), gpio_padout_get(), hal_cl_eu_barrier_team_get(), hal_cl_eu_dispatch_fifo_pop(), hal_efuse_read_word(), hal_eu_soc_events_pop(), hal_fc_eu_soc_events_pop(), hal_itc_ack_get(), hal_itc_event_fifo_pop(), hal_itc_irq_get(), hal_itc_mask_get(), hal_soc_eu_enable_timer(), hal_soc_eu_sel_timer(), hyper_ext_addr_get(), hyper_mem_cfg0_get(), hyper_mem_cfg1_get(), hyper_mem_cfg2_get(), hyper_mem_cfg3_get(), hyper_mem_cfg4_get(), hyper_mem_cfg5_get(), hyper_mem_cfg6_get(), hyper_mem_cfg7_get(), i2c_setup_get(), i2c_status_get(), i2s_cfg_clkgen0_get(), i2s_cfg_clkgen1_get(), i2s_chmode_get(), i2s_ext_clk_get(), i2s_filt_ch0_get(), i2s_filt_ch1_get(), pi_timer_stop(), pi_timer_value_read(), pmu_dlc_dlc_idifr_get(), pmu_dlc_dlc_ifr_get(), pmu_dlc_dlc_imcifr_get(), pmu_dlc_dlc_imr_get(), pmu_dlc_dlc_ioifr_get(), pmu_dlc_dlc_pctrl_get(), pmu_dlc_dlc_prdata_get(), pmu_dlc_dlc_sr_get(), pwm_ch_threshold_get(), pwm_cmd_get(), pwm_config_get(), pwm_counter_get(), pwm_ctrl_cg_get(), pwm_ctrl_event_cfg_get(), pwm_threshold_get(), rtc_apb_cr_get(), rtc_apb_dr_get(), rtc_apb_icr_get(), rtc_apb_ifr_get(), rtc_apb_imr_get(), rtc_apb_sr_get(), soc_ctrl_cl_busy_get(), soc_ctrl_cl_bypass_get(), soc_ctrl_cl_isolate_get(), soc_ctrl_corestatus_get(), soc_ctrl_fast_pmu_sleepctrl_get(), soc_ctrl_info_get(), soc_ctrl_safe_padcfg_get(), soc_ctrl_safe_padfun_get(), soc_ctrl_safe_padsleep_get(), soc_ctrl_safe_pmu_force_get(), soc_ctrl_safe_pmu_rar_get(), soc_ctrl_safe_pmu_sleepctrl_get(), soc_ctrl_safe_sleeppadcfg_get(), uart_setup_get(), uart_status_get(), udma_channel_busy_get(), udma_ctrl_get_clock_gating_register(), and udma_ctrl_get_event_register().

static uint8_t hal_read8 ( volatile void *  addr)
inlinestatic

References hal_compiler_barrier().

Referenced by hal_efuse_read_byte().

static void hal_write32 ( volatile void *  addr,
uint32_t  value 
)
inlinestatic

References hal_compiler_barrier(), and Catch::Generators::value().

Referenced by __attribute__(), cl_dma_cmd_set(), cl_dma_status_set(), cpi_cfg_filter_set(), cpi_cfg_glob_set(), cpi_cfg_ll_set(), cpi_cfg_size_set(), cpi_cfg_ur_set(), dmacpy_dst_addr_set(), dmacpy_mem_sel_set(), dmacpy_src_addr_set(), fll_ctrl_conf1_set(), fll_ctrl_conf2_set(), fll_ctrl_integrator_set(), gpio_gpioen_set(), gpio_inten_set(), gpio_intstatus_set(), gpio_inttype_set(), gpio_padcfg_set(), gpio_paddir_set(), gpio_padin_set(), gpio_padout_set(), hal_cl_ctrl_boot_addr_set(), hal_cl_ctrl_clock_gate_disable(), hal_cl_ctrl_clock_gate_enable(), hal_cl_ctrl_fetch_enable(), hal_cl_ctrl_fetch_mask_enable(), hal_cl_eu_barrier_setup(), hal_cl_eu_barrier_trigger(), hal_cl_eu_dispatch_fifo_push(), hal_cl_eu_dispatch_team_config(), hal_cl_eu_evt_clear(), hal_cl_eu_evt_mask_clear(), hal_cl_eu_evt_mask_set(), hal_cl_eu_glob_sw_trig(), hal_cl_eu_irq_mask_clear(), hal_cl_eu_irq_mask_set(), hal_cl_eu_mutex_init(), hal_cl_eu_mutex_unlock(), hal_cl_icache_disable(), hal_cl_icache_enable(), hal_efuse_config_timings(), hal_efuse_sleep(), hal_efuse_start_program(), hal_efuse_start_read(), hal_eu_dispatch_push(), hal_eu_dispatch_team_config(), hal_eu_fc_evt_demux_trig_set(), hal_eu_fc_evt_trig_set(), hal_itc_ack_clear(), hal_itc_ack_set(), hal_itc_irq_all_clear(), hal_itc_irq_clear(), hal_itc_irq_set(), hal_itc_irq_status_set(), hal_itc_mask_all_clear(), hal_itc_mask_clear(), hal_itc_mask_set(), hal_itc_reset(), hal_soc_eu_enable_timer(), hal_soc_eu_sel_timer(), hyper_ext_addr_set(), hyper_mem_cfg0_set(), hyper_mem_cfg1_set(), hyper_mem_cfg2_set(), hyper_mem_cfg3_set(), hyper_mem_cfg4_set(), hyper_mem_cfg5_set(), hyper_mem_cfg6_set(), hyper_mem_cfg7_set(), i2c_setup_set(), i2c_status_set(), i2s_cfg_clkgen0_set(), i2s_cfg_clkgen1_set(), i2s_chmode_set(), i2s_ext_clk_set(), i2s_filt_ch0_set(), i2s_filt_ch1_set(), pi_timer_init(), pi_timer_stop(), pmu_dlc_dlc_idifr_set(), pmu_dlc_dlc_ifr_set(), pmu_dlc_dlc_imcifr_set(), pmu_dlc_dlc_imr_set(), pmu_dlc_dlc_ioifr_set(), pmu_dlc_dlc_pctrl_set(), pwm_ch_threshold_set(), pwm_cmd_set(), pwm_config_set(), pwm_ctrl_cg_set(), pwm_ctrl_event_cfg_set(), pwm_threshold_set(), rtc_apb_cr_set(), rtc_apb_dr_set(), rtc_apb_icr_set(), rtc_apb_ifr_set(), rtc_apb_imr_set(), rtc_apb_sr_set(), soc_ctrl_cl_bypass_set(), soc_ctrl_cl_isolate_set(), soc_ctrl_corestatus_set(), soc_ctrl_safe_padcfg_set(), soc_ctrl_safe_padfun_set(), soc_ctrl_safe_padsleep_set(), soc_ctrl_safe_pmu_force_set(), soc_ctrl_safe_pmu_rar_set(), soc_ctrl_safe_pmu_sleepctrl_set(), soc_ctrl_safe_sleeppadcfg_set(), system_init(), uart_setup_set(), udma_channel_clear(), and udma_enqueue_channel().

static void hal_write8 ( volatile void *  addr,
uint32_t  value 
)
inlinestatic

References hal_compiler_barrier().

Referenced by hal_efuse_write_byte().

static int pi_cl_cluster_nb_cores ( )
inlinestatic

Referenced by __cluster_start().

static uint32_t pi_cl_cluster_nb_pe_cores ( void  )
inlinestatic
static uint32_t pi_cluster_id ( )
inlinestatic

References __native_cluster_id().

Referenced by helloworld().

static uint32_t pi_core_id ( )
inlinestatic

References __native_core_id().

Referenced by helloworld().

static uint32_t pi_is_fc ( )
inlinestatic