LCOV - code coverage report
Current view: top level - zephyr/dt-bindings/interrupt-controller - esp-esp32c6-intmux.h Hit Total Coverage
Test: new.info Lines: 0 81 0.0 %
Date: 2024-12-22 00:14:23

          Line data    Source code
       1           0 : /*
       2             :  * Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
       3             :  *
       4             :  * SPDX-License-Identifier: Apache-2.0
       5             :  */
       6             : 
       7             : #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_INTERRUPT_CONTROLLER_ESP32C6_INTMUX_H_
       8             : #define ZEPHYR_INCLUDE_DT_BINDINGS_INTERRUPT_CONTROLLER_ESP32C6_INTMUX_H_
       9             : 
      10           0 : #define WIFI_MAC_INTR_SOURCE                0  /* interrupt of WiFi MAC, level*/
      11           0 : #define WIFI_MAC_NMI_SOURCE                 1  /* interrupt of WiFi MAC, NMI*/
      12           0 : #define WIFI_PWR_INTR_SOURCE                2
      13           0 : #define WIFI_BB_INTR_SOURCE                 3  /* interrupt of WiFi BB, level*/
      14           0 : #define BT_MAC_INTR_SOURCE                  4  /* will be cancelled*/
      15           0 : #define BT_BB_INTR_SOURCE                   5  /* interrupt of BT BB, level*/
      16           0 : #define BT_BB_NMI_SOURCE                    6  /* interrupt of BT BB, NMI*/
      17           0 : #define LP_TIMER_INTR_SOURCE                7
      18           0 : #define COEX_INTR_SOURCE                    8
      19           0 : #define BLE_TIMER_INTR_SOURCE               9
      20           0 : #define BLE_SEC_INTR_SOURCE                10
      21           0 : #define I2C_MASTER_SOURCE                  11  /* interrupt of I2C Master, level*/
      22           0 : #define ZB_MAC_SOURCE                      12
      23           0 : #define PMU_INTR_SOURCE                    13
      24           0 : #define EFUSE_INTR_SOURCE                  14  /* interrupt of efuse, level, not likely to use*/
      25           0 : #define LP_RTC_TIMER_INTR_SOURCE           15
      26           0 : #define LP_UART_INTR_SOURCE                16
      27           0 : #define LP_I2C_INTR_SOURCE                 17
      28           0 : #define LP_WDT_INTR_SOURCE                 18
      29           0 : #define LP_PERI_TIMEOUT_INTR_SOURCE        19
      30           0 : #define LP_APM_M0_INTR_SOURCE              20
      31           0 : #define LP_APM_M1_INTR_SOURCE              21
      32           0 : #define FROM_CPU_INTR0_SOURCE              22  /* interrupt0 generated from a CPU, level*/
      33           0 : #define FROM_CPU_INTR1_SOURCE              23  /* interrupt1 generated from a CPU, level*/
      34           0 : #define FROM_CPU_INTR2_SOURCE              24  /* interrupt2 generated from a CPU, level*/
      35           0 : #define FROM_CPU_INTR3_SOURCE              25  /* interrupt3 generated from a CPU, level*/
      36           0 : #define ASSIST_DEBUG_INTR_SOURCE           26  /* interrupt of Assist debug module, LEVEL*/
      37           0 : #define TRACE_INTR_SOURCE                  27
      38           0 : #define CACHE_INTR_SOURCE                  28
      39           0 : #define CPU_PERI_TIMEOUT_INTR_SOURCE       29
      40           0 : #define GPIO_INTR_SOURCE                   30  /* interrupt of GPIO, level*/
      41           0 : #define GPIO_NMI_SOURCE                    31  /* interrupt of GPIO, NMI*/
      42           0 : #define PAU_INTR_SOURCE                    32
      43           0 : #define HP_PERI_TIMEOUT_INTR_SOURCE        33
      44           0 : #define MODEM_PERI_TIMEOUT_INTR_SOURCE     34
      45           0 : #define HP_APM_M0_INTR_SOURCE              35
      46           0 : #define HP_APM_M1_INTR_SOURCE              36
      47           0 : #define HP_APM_M2_INTR_SOURCE              37
      48           0 : #define HP_APM_M3_INTR_SOURCE              38
      49           0 : #define LP_APM0_INTR_SOURCE                39
      50           0 : #define MSPI_INTR_SOURCE                   40
      51           0 : #define I2S1_INTR_SOURCE                   41  /* interrupt of I2S1, level*/
      52           0 : #define UHCI0_INTR_SOURCE                  42  /* interrupt of UHCI0, level*/
      53           0 : #define UART0_INTR_SOURCE                  43  /* interrupt of UART0, level*/
      54           0 : #define UART1_INTR_SOURCE                  44  /* interrupt of UART1, level*/
      55           0 : #define LEDC_INTR_SOURCE                   45  /* interrupt of LED PWM, level*/
      56           0 : #define TWAI0_INTR_SOURCE                  46  /* interrupt of can0, level*/
      57           0 : #define TWAI1_INTR_SOURCE                  47  /* interrupt of can1, level*/
      58           0 : #define USB_SERIAL_JTAG_INTR_SOURCE        48  /* interrupt of USB, level*/
      59           0 : #define RMT_INTR_SOURCE                    49  /* interrupt of remote controller, level*/
      60           0 : #define I2C_EXT0_INTR_SOURCE               50  /* interrupt of I2C controller1, level*/
      61           0 : #define TG0_T0_LEVEL_INTR_SOURCE           51  /* interrupt of TIMER_GROUP0, TIMER0, level*/
      62           0 : #define TG0_T1_LEVEL_INTR_SOURCE           52  /* interrupt of TIMER_GROUP0, TIMER1, level*/
      63           0 : #define TG0_WDT_LEVEL_INTR_SOURCE          53  /* interrupt of TIMER_GROUP0, WATCH DOG, level*/
      64           0 : #define TG1_T0_LEVEL_INTR_SOURCE           54  /* interrupt of TIMER_GROUP1, TIMER0, level*/
      65           0 : #define TG1_T1_LEVEL_INTR_SOURCE           55  /* interrupt of TIMER_GROUP1, TIMER1, level*/
      66           0 : #define TG1_WDT_LEVEL_INTR_SOURCE          56  /* interrupt of TIMER_GROUP1, WATCHDOG, level*/
      67           0 : #define SYSTIMER_TARGET0_EDGE_INTR_SOURCE  57  /* interrupt of system timer 0, EDGE*/
      68           0 : #define SYSTIMER_TARGET1_EDGE_INTR_SOURCE  58  /* interrupt of system timer 1, EDGE*/
      69           0 : #define SYSTIMER_TARGET2_EDGE_INTR_SOURCE  59  /* interrupt of system timer 2, EDGE*/
      70           0 : #define APB_ADC_INTR_SOURCE                60  /* interrupt of APB ADC, LEVEL*/
      71           0 : #define MCPWM0_INTR_SOURCE                 61  /* interrupt of MCPWM0, LEVEL*/
      72           0 : #define PCNT_INTR_SOURCE                   62
      73           0 : #define PARL_IO_INTR_SOURCE                63
      74           0 : #define SLC0_INTR_SOURCE                   64
      75           0 : #define SLC_INTR_SOURCE                    65
      76           0 : #define DMA_IN_CH0_INTR_SOURCE             66  /* interrupt of general DMA IN channel 0, LEVEL*/
      77           0 : #define DMA_IN_CH1_INTR_SOURCE             67  /* interrupt of general DMA IN channel 1, LEVEL*/
      78           0 : #define DMA_IN_CH2_INTR_SOURCE             68  /* interrupt of general DMA IN channel 2, LEVEL*/
      79           0 : #define DMA_OUT_CH0_INTR_SOURCE            69  /* interrupt of general DMA OUT channel 0, LEVEL*/
      80           0 : #define DMA_OUT_CH1_INTR_SOURCE            70  /* interrupt of general DMA OUT channel 1, LEVEL*/
      81           0 : #define DMA_OUT_CH2_INTR_SOURCE            71  /* interrupt of general DMA OUT channel 2, LEVEL*/
      82           0 : #define GSPI2_INTR_SOURCE                  72
      83           0 : #define AES_INTR_SOURCE                    73  /* interrupt of AES accelerator, level*/
      84           0 : #define SHA_INTR_SOURCE                    74  /* interrupt of SHA accelerator, level*/
      85           0 : #define RSA_INTR_SOURCE                    75  /* interrupt of RSA accelerator, level*/
      86           0 : #define ECC_INTR_SOURCE                    76  /* interrupt of ECC accelerator, level*/
      87           0 : #define MAX_INTR_SOURCE                    77
      88             : 
      89             : /* RISC-V supports priority values from 1 (lowest) to 15.
      90             :  * As interrupt controller for Xtensa and RISC-V is shared, this is
      91             :  * set to an intermediate and compatible value.
      92             :  */
      93           0 : #define IRQ_DEFAULT_PRIORITY    3
      94             : 
      95           0 : #define ESP_INTR_FLAG_SHARED    (1<<8)    /* Interrupt can be shared between ISRs */
      96             : 
      97             : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_INTERRUPT_CONTROLLER_ESP32C6_INTMUX_H_ */

Generated by: LCOV version 1.14