This is an automated email from the ASF dual-hosted git repository.

raiden00 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit c0455582418dc8b6da41755b9b3f4b9cc84bd92e
Author: Daniel P. Carvalho <[email protected]>
AuthorDate: Wed Jun 26 10:22:43 2024 -0300

    arch/arm/stm32: Added EXTI lines for STM32G47XX.
---
 arch/arm/src/stm32/hardware/stm32_exti.h | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm/src/stm32/hardware/stm32_exti.h 
b/arch/arm/src/stm32/hardware/stm32_exti.h
index cc97971924..4ccaa009a3 100644
--- a/arch/arm/src/stm32/hardware/stm32_exti.h
+++ b/arch/arm/src/stm32/hardware/stm32_exti.h
@@ -147,6 +147,34 @@
 #  define EXTI_RTC_TAMPER        (1 << 19) /* EXTI line 19 is connected to the 
RTC Tamper and TimeStamp events */
 #  define EXTI_RTC_TIMESTAMP     (1 << 19) /* EXTI line 19 is connected to the 
RTC Tamper and TimeStamp events */
 #  define EXTI_RTC_WAKEUP        (1 << 20) /* EXTI line 20 is connected to the 
RTC Wakeup event */
+#elif defined(CONFIG_STM32_STM32G47XX)
+#  define EXTI_PVD_LINE          (1 << 16) /* EXTI line 16 is connected to the 
PVD output */
+#  define EXTI_RTC_ALARM         (1 << 17) /* EXTI line 17 is connected to the 
RTC Alarm event */
+#  define EXTI_USB_WAKEUP        (1 << 18) /* EXTI line 18 is connected to the 
USB Device FS Wakeup event */
+#  define EXTI_RTC_TIMESTAMP     (1 << 19) /* EXTI line 19 is connected to the 
Timestamp or CSS_LSE events */
+#  define EXTI_CSS_LSE           (1 << 19) /* EXTI line 19 is connected to the 
Timestamp or CSS_LSE events */
+#  define EXTI_RTC_WAKEUP        (1 << 20) /* EXTI line 20 is connected to the 
RTC Wakeup event */
+#  define EXTI_COMP1             (1 << 21) /* EXTI line 21 is connected to the 
Comparator 1 wakeup event */
+#  define EXTI_COMP2             (1 << 22) /* EXTI line 22 is connected to the 
Comparator 2 wakeup event */
+#  define EXTI_I2C1              (1 << 23) /* EXTI line 23 is connected to the 
I2C1 wakeup event */
+#  define EXTI_I2C2              (1 << 24) /* EXTI line 24 is connected to the 
I2C2 wakeup event */
+#  define EXTI_USART1            (1 << 25) /* EXTI line 25 is connected to the 
USART1 wakeup event */
+#  define EXTI_USART2            (1 << 26) /* EXTI line 26 is connected to the 
USART2 wakeup event */
+#  define EXTI_I2C3              (1 << 27) /* EXTI line 27 is connected to the 
I2C3 wakeup event */
+#  define EXTI_USART3            (1 << 28) /* EXTI line 28 is connected to the 
USART3 wakeup event */
+#  define EXTI_COMP3             (1 << 29) /* EXTI line 29 is connected to the 
Comparator 3 wakeup event */
+#  define EXTI_COMP4             (1 << 30) /* EXTI line 30 is connected to the 
Comparator 4 wakeup event */
+#  define EXTI_COMP5             (1 << 31) /* EXTI line 31 is connected to the 
Comparator 5 wakeup event */
+#  define EXTI_COMP6             (1 << 32) /* EXTI line 32 is connected to the 
Comparator 6 wakeup event */
+#  define EXTI_COMP7             (1 << 33) /* EXTI line 33 is connected to the 
Comparator 7 wakeup event */
+#  define EXTI_USART4            (1 << 34) /* EXTI line 34 is connected to the 
USART4 wakeup event */
+#  define EXTI_USART5            (1 << 35) /* EXTI line 35 is connected to the 
USART5 wakeup event */
+#  define EXTI_LPUART1           (1 << 36) /* EXTI line 36 is connected to the 
LPUART1 wakeup event */
+#  define EXTI_LPTIM1            (1 << 37) /* EXTI line 37 is connected to the 
LPTIM1 wakeup event */
+#  define EXTI_PVM1              (1 << 40) /* EXTI line 40 is connected to the 
PVM1 wakeup event */
+#  define EXTI_PVM2              (1 << 41) /* EXTI line 41 is connected to the 
PVM2 wakeup event */
+#  define EXTI_I2C4              (1 << 42) /* EXTI line 42 is connected to the 
I2C4 wakeup event */
+#  define EXTI_UCPD1             (1 << 43) /* EXTI line 43 is connected to the 
UCPD1 wakeup event */
 #endif
 
 /* Interrupt mask register */

Reply via email to