zephyr/drivers/interrupt_controller/Kconfig.wch_exti
Michael Hope b99b7d14f1 drivers: interrupt_controller: add a WCH EXTI external interrupt driver
The WCH External Trigger and Interrupt controller (EXTI) supports
between 8 and 22 lines where each line can trigger an interrupt on
rising edge, falling edge, or both edges. Lines are assigned to a
group, and each group has a separate interrupt. On the CH32V003/6,
there is one group of 8 lines, while on the CH32V208 there are
multiple groups with between one and six lines per group.

In the same way as the STM32 and GD32, define an EXTI driver that
configures the peripheral and an internal interface that can configure
individual lines.

Signed-off-by: Michael Hope <michaelh@juju.nz>
2025-06-26 09:38:56 +02:00

11 lines
330 B
Plaintext

# Copyright (c) 2025 Michael Hope <michaelh@juju.nz>
# SPDX-License-Identifier: Apache-2.0
config WCH_EXTI
bool "WCH CH32V00x/20x/30x External Interrupt and Event Controller (EXTI)"
default y
depends on DT_HAS_WCH_EXTI_ENABLED
help
Enable the WCH CH32V00x/20x/30x External Interrupt and Event Controller (EXTI)
driver.