2016-03-14 23:29:46 +08:00
|
|
|
# Kconfig - STM32 EXTI configuration
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Open-RnD Sp. z o.o.
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-03-14 23:29:46 +08:00
|
|
|
#
|
|
|
|
|
2016-04-03 10:29:40 +08:00
|
|
|
if SOC_FAMILY_STM32
|
2016-03-14 23:29:46 +08:00
|
|
|
|
|
|
|
config EXTI_STM32
|
|
|
|
bool "External Interrupt/Event Controller (EXTI) Driver for STM32 family of MCUs"
|
2016-04-03 10:29:40 +08:00
|
|
|
default y if SOC_FAMILY_STM32
|
2016-03-14 23:29:46 +08:00
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
Enable EXTI driver for STM32 line of MCUs
|
2016-03-14 23:29:46 +08:00
|
|
|
|
2017-08-09 17:22:33 +08:00
|
|
|
config EXTI_STM32_EXTI1_0_IRQ_PRI
|
|
|
|
int "EXTI1:0 IRQ priority"
|
|
|
|
depends on EXTI_STM32
|
2019-06-21 21:45:45 +08:00
|
|
|
depends on SOC_SERIES_STM32F0X || SOC_SERIES_STM32L0X || SOC_SERIES_STM32G0X
|
2017-08-09 17:22:33 +08:00
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of EXTI1:0 interrupt
|
2017-08-09 17:22:33 +08:00
|
|
|
|
|
|
|
config EXTI_STM32_EXTI3_2_IRQ_PRI
|
|
|
|
int "EXTI3:2 IRQ priority"
|
|
|
|
depends on EXTI_STM32
|
2019-06-21 21:45:45 +08:00
|
|
|
depends on SOC_SERIES_STM32F0X || SOC_SERIES_STM32L0X || SOC_SERIES_STM32G0X
|
2017-08-09 17:22:33 +08:00
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of EXTI3:2 interrupt
|
2017-08-09 17:22:33 +08:00
|
|
|
|
|
|
|
config EXTI_STM32_EXTI15_4_IRQ_PRI
|
|
|
|
int "EXTI15:4 IRQ priority"
|
|
|
|
depends on EXTI_STM32
|
2019-06-21 21:45:45 +08:00
|
|
|
depends on SOC_SERIES_STM32F0X || SOC_SERIES_STM32L0X || SOC_SERIES_STM32G0X
|
2017-08-09 17:22:33 +08:00
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of EXTI15:4 interrupt
|
2017-08-09 17:22:33 +08:00
|
|
|
|
2019-06-21 21:45:45 +08:00
|
|
|
if SOC_SERIES_STM32F0X!=y && SOC_SERIES_STM32L0X!=y && SOC_SERIES_STM32G0X!=y
|
2017-08-09 17:22:33 +08:00
|
|
|
|
2016-03-14 23:29:46 +08:00
|
|
|
config EXTI_STM32_EXTI0_IRQ_PRI
|
|
|
|
int "EXTI0 IRQ priority"
|
|
|
|
depends on EXTI_STM32
|
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of EXTI0 interrupt
|
2016-03-14 23:29:46 +08:00
|
|
|
|
|
|
|
config EXTI_STM32_EXTI1_IRQ_PRI
|
|
|
|
int "EXTI1 IRQ priority"
|
|
|
|
depends on EXTI_STM32
|
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of EXTI1 interrupt
|
2016-03-14 23:29:46 +08:00
|
|
|
|
|
|
|
config EXTI_STM32_EXTI2_IRQ_PRI
|
|
|
|
int "EXTI2 IRQ priority"
|
|
|
|
depends on EXTI_STM32
|
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of EXTI2 interrupt
|
2016-03-14 23:29:46 +08:00
|
|
|
|
|
|
|
config EXTI_STM32_EXTI3_IRQ_PRI
|
|
|
|
int "EXTI3 IRQ priority"
|
|
|
|
depends on EXTI_STM32
|
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of EXTI3 interrupt
|
2016-03-14 23:29:46 +08:00
|
|
|
|
|
|
|
config EXTI_STM32_EXTI4_IRQ_PRI
|
|
|
|
int "EXTI4 IRQ priority"
|
|
|
|
depends on EXTI_STM32
|
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of EXTI4 interrupt
|
2016-03-14 23:29:46 +08:00
|
|
|
|
2019-02-27 01:58:24 +08:00
|
|
|
if SOC_SERIES_STM32MP1X
|
|
|
|
config EXTI_STM32_EXTI5_IRQ_PRI
|
|
|
|
int "EXTI5 IRQ priority"
|
|
|
|
depends on EXTI_STM32
|
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of EXTI5 interrupt
|
2019-02-27 01:58:24 +08:00
|
|
|
|
|
|
|
config EXTI_STM32_EXTI6_IRQ_PRI
|
|
|
|
int "EXTI6 IRQ priority"
|
|
|
|
depends on EXTI_STM32
|
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of EXTI6 interrupt
|
2019-02-27 01:58:24 +08:00
|
|
|
|
|
|
|
config EXTI_STM32_EXTI7_IRQ_PRI
|
|
|
|
int "EXTI7 IRQ priority"
|
|
|
|
depends on EXTI_STM32
|
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of EXTI7 interrupt
|
2019-02-27 01:58:24 +08:00
|
|
|
|
|
|
|
config EXTI_STM32_EXTI8_IRQ_PRI
|
|
|
|
int "EXTI8 IRQ priority"
|
|
|
|
depends on EXTI_STM32
|
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of EXTI8 interrupt
|
2019-02-27 01:58:24 +08:00
|
|
|
|
|
|
|
config EXTI_STM32_EXTI9_IRQ_PRI
|
|
|
|
int "EXTI9 IRQ priority"
|
|
|
|
depends on EXTI_STM32
|
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of EXTI9 interrupt
|
2019-02-27 01:58:24 +08:00
|
|
|
|
|
|
|
config EXTI_STM32_EXTI10_IRQ_PRI
|
|
|
|
int "EXTI10 IRQ priority"
|
|
|
|
depends on EXTI_STM32
|
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of EXTI10 interrupt
|
2019-02-27 01:58:24 +08:00
|
|
|
|
|
|
|
config EXTI_STM32_EXTI11_IRQ_PRI
|
|
|
|
int "EXTI11 IRQ priority"
|
|
|
|
depends on EXTI_STM32
|
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of EXTI11 interrupt
|
2019-02-27 01:58:24 +08:00
|
|
|
|
|
|
|
config EXTI_STM32_EXTI12_IRQ_PRI
|
|
|
|
int "EXTI12 IRQ priority"
|
|
|
|
depends on EXTI_STM32
|
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of EXTI12 interrupt
|
2019-02-27 01:58:24 +08:00
|
|
|
|
|
|
|
config EXTI_STM32_EXTI13_IRQ_PRI
|
|
|
|
int "EXTI13 IRQ priority"
|
|
|
|
depends on EXTI_STM32
|
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of EXTI13 interrupt
|
2019-02-27 01:58:24 +08:00
|
|
|
|
|
|
|
config EXTI_STM32_EXTI14_IRQ_PRI
|
|
|
|
int "EXTI14 IRQ priority"
|
|
|
|
depends on EXTI_STM32
|
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of EXTI14 interrupt
|
2019-02-27 01:58:24 +08:00
|
|
|
|
|
|
|
config EXTI_STM32_EXTI15_IRQ_PRI
|
|
|
|
int "EXTI15 IRQ priority"
|
|
|
|
depends on EXTI_STM32
|
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of EXTI15 interrupt
|
2019-02-27 01:58:24 +08:00
|
|
|
|
|
|
|
endif # SOC_SERIES_STM32MP1X
|
|
|
|
|
|
|
|
if SOC_SERIES_STM32MP1X!=y
|
2016-03-14 23:29:46 +08:00
|
|
|
config EXTI_STM32_EXTI9_5_IRQ_PRI
|
|
|
|
int "EXTI9:5 IRQ priority"
|
|
|
|
depends on EXTI_STM32
|
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of EXTI9:5 interrupt
|
2016-03-14 23:29:46 +08:00
|
|
|
|
|
|
|
config EXTI_STM32_EXTI15_10_IRQ_PRI
|
|
|
|
int "EXTI15:10 IRQ priority"
|
|
|
|
depends on EXTI_STM32
|
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of EXTI15:10 interrupt
|
2019-02-27 01:58:24 +08:00
|
|
|
endif # SOC_SERIES_STM32MP1X!=y
|
2016-03-14 23:29:46 +08:00
|
|
|
|
2019-06-21 21:45:45 +08:00
|
|
|
endif # SOC_SERIES_STM32F0X!=y && SOC_SERIES_STM32L0X!=y && SOC_SERIES_STM32G0X!=y
|
2017-08-09 17:22:33 +08:00
|
|
|
|
2018-05-29 17:14:18 +08:00
|
|
|
config EXTI_STM32_PVD_IRQ_PRI
|
|
|
|
int "RVD Through IRQ priority"
|
2016-10-28 18:27:22 +08:00
|
|
|
depends on EXTI_STM32
|
2019-06-21 21:45:45 +08:00
|
|
|
depends on SOC_SERIES_STM32F4X || SOC_SERIES_STM32F7X || SOC_SERIES_STM32F2X || SOC_SERIES_STM32G0X
|
2016-10-28 18:27:22 +08:00
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of RVD Through interrupt
|
2016-10-28 18:27:22 +08:00
|
|
|
|
2018-05-29 17:14:18 +08:00
|
|
|
config EXTI_STM32_OTG_FS_WKUP_IRQ_PRI
|
|
|
|
int "USB OTG FS Wake Up IRQ priority"
|
2016-10-28 18:27:22 +08:00
|
|
|
depends on EXTI_STM32
|
2018-05-11 21:47:12 +08:00
|
|
|
depends on SOC_SERIES_STM32F4X || SOC_SERIES_STM32F7X || SOC_SERIES_STM32F2X
|
2016-10-28 18:27:22 +08:00
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of USB OTG FS Wake interrupt
|
2016-10-28 18:27:22 +08:00
|
|
|
|
2018-05-29 17:14:18 +08:00
|
|
|
config EXTI_STM32_TAMP_STAMP_IRQ_PRI
|
|
|
|
int "Tamper and Timestamp IRQ priority"
|
2016-10-28 18:27:22 +08:00
|
|
|
depends on EXTI_STM32
|
2018-05-11 21:47:12 +08:00
|
|
|
depends on SOC_SERIES_STM32F4X || SOC_SERIES_STM32F7X || SOC_SERIES_STM32F2X
|
2016-10-28 18:27:22 +08:00
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of Tamper and Timestamp interrupt
|
2016-10-28 18:27:22 +08:00
|
|
|
|
2018-05-29 17:14:18 +08:00
|
|
|
config EXTI_STM32_RTC_WKUP_IRQ_PRI
|
|
|
|
int "RTC Wake Up IRQ priority"
|
2016-10-28 18:27:22 +08:00
|
|
|
depends on EXTI_STM32
|
2018-05-11 21:47:12 +08:00
|
|
|
depends on SOC_SERIES_STM32F4X || SOC_SERIES_STM32F7X || SOC_SERIES_STM32F2X
|
2016-10-28 18:27:22 +08:00
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of RTC Wake Up interrupt
|
2016-10-28 18:27:22 +08:00
|
|
|
|
2018-06-14 14:24:39 +08:00
|
|
|
config EXTI_STM32_LPTIM1_IRQ_PRI
|
|
|
|
int "LPTIM1 IRQ priority"
|
|
|
|
depends on EXTI_STM32
|
|
|
|
depends on SOC_SERIES_STM32F7X
|
|
|
|
default 0
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
IRQ priority of LPTIM1 interrupt
|
2018-06-14 14:24:39 +08:00
|
|
|
|
2016-04-03 10:29:40 +08:00
|
|
|
endif # SOC_FAMILY_STM32
|