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

Macros

#define NB_SW_EVENTS
 FC IRQ. More...
 
#define FC_IRQ_SW_EVT(id)
 
#define FC_IRQ_DMA_EVT
 
#define FC_IRQ_DECOMPR_DONE_IRQ
 
#define FC_IRQ_TIMER0_LO_EVT
 
#define FC_IRQ_TIMER0_HI_EVT
 
#define FC_IRQ_TIMER1_LO_EVT
 
#define FC_IRQ_TIMER1_HI_EVT
 
#define FC_IRQ_REF32K_CLK_EDGE_EVT
 
#define FC_IRQ_GPIO
 
#define FC_IRQ_REF32K_CLK_RISE_EVT
 
#define FC_IRQ_PWM(id)
 
#define FC_IRQ_RTC_APB_EVT
 
#define FC_IRQ_RTC_EVT
 
#define FC_IRQ_DLC_BRIDGE_PICL_OK_IRQ
 
#define FC_IRQ_DLC_BRIDGE_SCU_OK_IRQ
 
#define FC_IRQ_SOC_EVENT_FIFO_EVT
 
#define FC_IRQ_QUIDDIKEY_EVT
 
#define FC_IRQ_MPU_ERROR
 
#define FC_IRQ_FC_QUEUE_ERROR_EVT
 
#define FC_IRQ_HYPER_0_EOT_IRQ
 
#define FC_IRQ_HYPER_1_EOT_IRQ
 
#define NB_SOC_EVENT_UDMA_EVENTS
 SoC events. More...
 
#define NB_SOC_EVENT_PERIPH_EVENTS
 
#define NB_SOC_EVENT_NO_UDMA_EVENTS
 
#define NB_SOC_EVENT_TIMEOUT_EVENTS
 
#define NB_FC_SOC_EVENTS
 Number of FC_Events. More...
 
#define SOC_EU_NB_FC_EVENTS
 
#define SOC_EVENT_UDMA_CHAN_LIN(id)
 UDMA linear channel events. More...
 
#define SOC_EVENT_UDMA_CHAN_2D(id)
 UDMA 2D channel events. More...
 
#define SOC_EVENT_UDMA_CHAN_FIFO(id)
 UDMA fifo channel events. More...
 
#define SOC_EVENT_UDMA_SPIM_EOT(id)
 UDMA peripheral special events. More...
 
#define SOC_EVENT_UDMA_UART_RX_EVT(id)
 
#define SOC_EVENT_UDMA_UART_TX_EVT(id)
 
#define SOC_EVENT_UDMA_UART_ERR_EVT(id)
 
#define SOC_EVENT_UDMA_I2C_LEAD_EVT(id)
 
#define SOC_EVENT_UDMA_I2C_SLAVE_EVT(id)
 
#define SOC_EVENT_UDMA_HYPER_EVT(id)
 
#define SOC_EVENT_UDMA_MRAM_ERASE_EVT(id)
 
#define SOC_EVENT_UDMA_MRAM_TX_EVT(id)
 
#define SOC_EVENT_UDMA_MRAM_TRIM_EVT(id)
 
#define SOC_EVENT_UDMA_MRAM_RX_EVT(id)
 
#define SOC_EVENT_UDMA_FILTER_EOT(id)
 
#define SOC_EVENT_UDMA_FILTER_ACT(id)
 
#define SOC_EVENT_UDMA_TIMESTAMP_EVT(id)
 
#define SOC_EVENT_UDMA_FFC(id)
 
#define SOC_EVENT_I3C_APB_EVT
 Other peripheral events. More...
 
#define SOC_EVENT_REF_CLOCK_RISE
 
#define SOC_EVENT_PMU_DLC_PICL_OK
 
#define SOC_EVENT_PMU_DLC_SCU_OK
 
#define SOC_EVENT_PWM(id)
 
#define SOC_EVENT_GPIO
 
#define SOC_EVENT_RTC_APB
 
#define SOC_EVENT_RTC
 
#define SOC_EVENT_UDMA_TIMEOUT(id)
 
#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_DECOMPR_DONE_EVT
 
#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 CL_NOTIFY_CLUSTER_EVENT
 
#define CLUSTER_TO_FC_NOTIFY_IRQN
 
#define FC_SW_BRIDGE_IRQN
 
#define FC_NOTIFY_CLUSTER_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
#define CL_IRQ_CLUSTER_EVT_0
#define CL_IRQ_CLUSTER_EVT_1
#define CL_IRQ_DECOMPR_DONE_EVT
#define CL_IRQ_DISPATCH_EVT
#define CL_IRQ_DMA0
#define CL_IRQ_DMA1
#define CL_IRQ_HW_MUTEX_EVT
#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 CL_NOTIFY_CLUSTER_EVENT

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

Referenced by __pi_cl_decompressor_handler(), and pi_cl_dma_decompressor_wait().

#define CLUSTER_TO_FC_NOTIFY_IRQN

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

#define FC_IRQ_DECOMPR_DONE_IRQ
#define FC_IRQ_DLC_BRIDGE_PICL_OK_IRQ
#define FC_IRQ_DLC_BRIDGE_SCU_OK_IRQ
#define FC_IRQ_DMA_EVT
#define FC_IRQ_FC_QUEUE_ERROR_EVT
#define FC_IRQ_GPIO

Referenced by pi_gpio_open().

#define FC_IRQ_HYPER_0_EOT_IRQ
#define FC_IRQ_HYPER_1_EOT_IRQ
#define FC_IRQ_MPU_ERROR
#define FC_IRQ_PWM (   id)
#define FC_IRQ_QUIDDIKEY_EVT
#define FC_IRQ_REF32K_CLK_EDGE_EVT
#define FC_IRQ_REF32K_CLK_RISE_EVT
#define FC_IRQ_RTC_APB_EVT
#define FC_IRQ_RTC_EVT
#define FC_IRQ_SOC_EVENT_FIFO_EVT
#define FC_IRQ_SW_EVT (   id)
#define FC_IRQ_TIMER0_HI_EVT
#define FC_IRQ_TIMER0_LO_EVT
#define FC_IRQ_TIMER1_HI_EVT
#define FC_IRQ_TIMER1_LO_EVT
#define FC_NOTIFY_CLUSTER_EVENT
#define FC_SOC_EVENT_NOTIFY_IRQ
#define FC_SW_BRIDGE_IRQN

IRQ sent by debug bridge. Used like an event.

#define FC_TO_CLUSTER_NOTIFY_EVENT

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

#define NB_FC_SOC_EVENTS
#define NB_SOC_EVENT_NO_UDMA_EVENTS
#define NB_SOC_EVENT_PERIPH_EVENTS
#define NB_SOC_EVENT_TIMEOUT_EVENTS
#define NB_SOC_EVENT_UDMA_EVENTS

Below are listed SoC peripheral events. There are UDMA channel(lin, 2d, fifo) events, special events from peripheral (EOT, ERROR,...). Some others are not related to UDMA (PWM,...).

#define NB_SW_EVENTS

Below are listed HW IRQ FC core can receive.

#define PENDSV_IRQN

Pending Supervisor Call/SysCall.

#define SOC_EU_NB_FC_EVENTS
#define SOC_EVENT_GPIO
#define SOC_EVENT_I3C_APB_EVT
#define SOC_EVENT_PMU_DLC_PICL_OK
#define SOC_EVENT_PMU_DLC_SCU_OK
#define SOC_EVENT_PWM (   id)
#define SOC_EVENT_REF_CLOCK_RISE
#define SOC_EVENT_RTC
#define SOC_EVENT_RTC_APB
#define SOC_EVENT_UDMA_CHAN_2D (   id)
#define SOC_EVENT_UDMA_CHAN_FIFO (   id)
#define SOC_EVENT_UDMA_FFC (   id)
#define SOC_EVENT_UDMA_FILTER_ACT (   id)
#define SOC_EVENT_UDMA_FILTER_EOT (   id)
#define SOC_EVENT_UDMA_HYPER_EVT (   id)
#define SOC_EVENT_UDMA_I2C_LEAD_EVT (   id)

Referenced by __pi_i2c_close(), and __pi_i2c_open().

#define SOC_EVENT_UDMA_I2C_SLAVE_EVT (   id)
#define SOC_EVENT_UDMA_MRAM_ERASE_EVT (   id)
#define SOC_EVENT_UDMA_MRAM_RX_EVT (   id)
#define SOC_EVENT_UDMA_MRAM_TRIM_EVT (   id)
#define SOC_EVENT_UDMA_MRAM_TX_EVT (   id)
#define SOC_EVENT_UDMA_SPIM_EOT (   id)
#define SOC_EVENT_UDMA_TIMEOUT (   id)
#define SOC_EVENT_UDMA_TIMESTAMP_EVT (   id)
#define SOC_EVENT_UDMA_UART_ERR_EVT (   id)

Referenced by __pi_uart_open().

#define SOC_EVENT_UDMA_UART_RX_EVT (   id)
#define SOC_EVENT_UDMA_UART_TX_EVT (   id)
#define SYSTICK_IRQN

SysTick IRQ.