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

Macros

#define UDMA_EVENT_OFFSET_RX
 
#define UDMA_EVENT_OFFSET_TX
 
#define UDMA_CHANNEL_NB_EVENTS_LOG2
 
#define UDMA_CHANNEL_NB_EVENTS
 
#define NB_SW_EVENTS
 
#define FC_IRQ_SW_EVT(id)
 FC IRQ. More...
 
#define FC_IRQ_DMA_EVT
 
#define FC_IRQ_DMA
 
#define FC_IRQ_TIMER0_LO_EVT
 
#define FC_IRQ_TIMER0_HI_EVT
 
#define FC_IRQ_EU_HWCE
 
#define FC_IRQ_SOC_EVENT_FIFO_EVT
 
#define FC_IRQ_MPU_ERROR
 
#define FC_IRQ_FC_QUEUE_ERROR_EVT
 
#define FC_IRQ_HP_0
 
#define FC_IRQ_HP_1
 
#define SOC_EU_NB_FC_EVENTS
 SoC events. More...
 
#define SOC_EVENT_UDMA_SPIM_RX(id)
 UDMA events. More...
 
#define SOC_EVENT_UDMA_SPIM_TX(id)
 
#define SOC_EVENT_UDMA_HYPER_RX(id)
 
#define SOC_EVENT_UDMA_HYPER_TX(id)
 
#define SOC_EVENT_UDMA_UART_RX(id)
 
#define SOC_EVENT_UDMA_UART_TX(id)
 
#define SOC_EVENT_UDMA_I2C_RX(id)
 
#define SOC_EVENT_UDMA_I2C_TX(id)
 
#define SOC_EVENT_UDMA_DMACPY_RX(id)
 
#define SOC_EVENT_UDMA_DMACPY_TX(id)
 
#define SOC_EVENT_UDMA_I2S_RX(id)
 
#define SOC_EVENT_UDMA_I2S_TX(id)
 
#define SOC_EVENT_UDMA_CPI_RX(id)
 
#define SOC_EVENT_UDMA_SPIM_EOT(id)
 
#define SOC_EVENT_PMU_CLUSTER_POWER
 PMU events. More...
 
#define SOC_EVENT_PMU_CLUSTER_CG
 
#define SOC_EVENT_PMU_DLC_BRIDGE_PICL
 
#define SOC_EVENT_PMU_DLC_BRIDGE_SCU
 
#define SOC_EVENT_PWM(id)
 
#define SOC_EVENT_GPIO
 
#define SOC_EVENT_RTC_APB
 
#define SOC_EVENT_RTC
 
#define SOC_EVENT_SW(id)
 
#define SOC_EVENT_REF32K_CLK_RISE
 
#define CL_IRQ_SW_EVT(id)
 Cluster IRQ. More...
 
#define CL_IRQ_DMA0
 
#define CL_IRQ_DMA1
 
#define CL_IRQ_TIMER0_LO
 
#define CL_IRQ_TIMER0_HI
 
#define CL_IRQ_ACC_EVT_0
 
#define CL_IRQ_ACC_EVT_1
 
#define CL_IRQ_ACC_EVT_2
 
#define CL_IRQ_ACC_EVT_3
 
#define CL_IRQ_BARRIER_EVT
 
#define CL_IRQ_HW_MUTEX_EVT
 
#define CL_IRQ_DISPATCH_EVT
 
#define CL_IRQ_CLUSTER_EVT_0
 
#define CL_IRQ_CLUSTER_EVT_1
 
#define CL_IRQ_SOC_FIFO_EVT
 
#define PENDSV_IRQN
 
#define SYSTICK_IRQN
 
#define FC_SOC_EVENT_NOTIFY_IRQ
 
#define FC_TO_CLUSTER_NOTIFY_EVENT
 
#define DMA_SW_IRQN
 
#define CLUSTER_TO_FC_NOTIFY_IRQN
 
#define FC_NOTIFY_CLUSTER_EVENT
 
#define FC_SOC_EVENT_IRQN
 
#define FC_SW_NOTIFY_EVENT
 

Macro Definition Documentation

#define CL_IRQ_ACC_EVT_0
#define CL_IRQ_ACC_EVT_1
#define CL_IRQ_ACC_EVT_2
#define CL_IRQ_ACC_EVT_3
#define CL_IRQ_BARRIER_EVT

Referenced by cl_cluster_exec_loop().

#define CL_IRQ_CLUSTER_EVT_0
#define CL_IRQ_CLUSTER_EVT_1
#define CL_IRQ_DISPATCH_EVT

Referenced by cl_cluster_exec_loop().

#define CL_IRQ_DMA0
#define CL_IRQ_DMA1

Referenced by cl_cluster_exec_loop().

#define CL_IRQ_HW_MUTEX_EVT

Referenced by cl_cluster_exec_loop().

#define CL_IRQ_SOC_FIFO_EVT
#define CL_IRQ_SW_EVT (   id)

Below are listed cluster IRQ.

#define CL_IRQ_TIMER0_HI
#define CL_IRQ_TIMER0_LO
#define CLUSTER_TO_FC_NOTIFY_IRQN

IRQ sent by cluster to FC. IRQ handler is needed. Asynchronous.

Referenced by mc_fc_delegate_init(), and pi_cl_send_task_to_fc().

#define DMA_SW_IRQN

Event used when emulating 2D DMA transfers or large 1D ttransfers. Master core waits for this SW event, triggered by CL_IRQ_DMA1 handler.

#define FC_IRQ_DMA
#define FC_IRQ_DMA_EVT
#define FC_IRQ_EU_HWCE
#define FC_IRQ_FC_QUEUE_ERROR_EVT
#define FC_IRQ_HP_0
#define FC_IRQ_HP_1
#define FC_IRQ_MPU_ERROR
#define FC_IRQ_SOC_EVENT_FIFO_EVT

Referenced by system_init().

#define FC_IRQ_SW_EVT (   id)

Below are listed HW IRQ FC core can receive.

#define FC_IRQ_TIMER0_HI_EVT
#define FC_IRQ_TIMER0_LO_EVT
#define FC_SOC_EVENT_IRQN

Referenced by __attribute__(), and system_init().

#define FC_SOC_EVENT_NOTIFY_IRQ
#define FC_SW_NOTIFY_EVENT
#define FC_TO_CLUSTER_NOTIFY_EVENT

Event sent by FC to cluster. A cluster core is waiting for this event. Synchronous.

Referenced by __pi_send_task_to_cl(), cl_cluster_exec_loop(), cl_notify_fc_event_handler(), cl_notify_task_done(), cl_wait_task(), and pi_cl_send_task_to_fc().

#define NB_SW_EVENTS
#define PENDSV_IRQN

Pending Supervisor Call/SysCall.

Referenced by __os_native_kickoff(), system_init(), and vSetPendSV().

#define SOC_EU_NB_FC_EVENTS

Below are listed SoC peripheral events.

Number of FC_Events.

#define SOC_EVENT_GPIO

Referenced by pi_gpio_close(), and pi_gpio_open().

#define SOC_EVENT_PMU_CLUSTER_CG

Referenced by __pi_pmu_init().

#define SOC_EVENT_PMU_CLUSTER_POWER

Referenced by __pi_pmu_init().

#define SOC_EVENT_PMU_DLC_BRIDGE_PICL

Referenced by __pi_pmu_init().

#define SOC_EVENT_PMU_DLC_BRIDGE_SCU
#define SOC_EVENT_PWM (   id)
#define SOC_EVENT_REF32K_CLK_RISE
#define SOC_EVENT_RTC

Referenced by __pi_rtc_close(), and __pi_rtc_open().

#define SOC_EVENT_RTC_APB

Referenced by __pi_rtc_close(), and __pi_rtc_open().

#define SOC_EVENT_SW (   id)
#define SOC_EVENT_UDMA_CPI_RX (   id)

Referenced by __pi_cpi_close(), and __pi_cpi_open().

#define SOC_EVENT_UDMA_DMACPY_RX (   id)
#define SOC_EVENT_UDMA_DMACPY_TX (   id)
#define SOC_EVENT_UDMA_HYPER_RX (   id)

Referenced by pi_hyper_close(), and pi_hyper_open().

#define SOC_EVENT_UDMA_HYPER_TX (   id)

Referenced by pi_hyper_close(), and pi_hyper_open().

#define SOC_EVENT_UDMA_I2C_RX (   id)

Referenced by __pi_i2c_close(), and __pi_i2c_open().

#define SOC_EVENT_UDMA_I2C_TX (   id)

Referenced by __pi_i2c_close(), and __pi_i2c_open().

#define SOC_EVENT_UDMA_I2S_RX (   id)

Referenced by __pi_i2s_close(), and __pi_i2s_open().

#define SOC_EVENT_UDMA_I2S_TX (   id)

Referenced by __pi_i2s_close(), and __pi_i2s_open().

#define SOC_EVENT_UDMA_SPIM_EOT (   id)
#define SOC_EVENT_UDMA_SPIM_TX (   id)
#define SOC_EVENT_UDMA_UART_RX (   id)

Referenced by __pi_uart_close(), and __pi_uart_open().

#define SOC_EVENT_UDMA_UART_TX (   id)

Referenced by __pi_uart_close(), and __pi_uart_open().

#define SYSTICK_IRQN

SysTick IRQ.

Referenced by system_setup_systick().

#define UDMA_CHANNEL_NB_EVENTS
#define UDMA_EVENT_OFFSET_RX
#define UDMA_EVENT_OFFSET_TX