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

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


The following commit(s) were added to refs/heads/master by this push:
     new 3e4a16d851 arch/arm/stm32: Fix EXTI lines definitions for STM32G47XX.
3e4a16d851 is described below

commit 3e4a16d85158cead3b55fd16570dee5c48af3d3d
Author: Daniel P. Carvalho <[email protected]>
AuthorDate: Thu Jul 4 13:25:26 2024 -0300

    arch/arm/stm32: Fix EXTI lines definitions for STM32G47XX.
---
 arch/arm/src/stm32/hardware/stm32_exti.h | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/arch/arm/src/stm32/hardware/stm32_exti.h 
b/arch/arm/src/stm32/hardware/stm32_exti.h
index 4ccaa009a3..a5b8c70a3d 100644
--- a/arch/arm/src/stm32/hardware/stm32_exti.h
+++ b/arch/arm/src/stm32/hardware/stm32_exti.h
@@ -165,16 +165,16 @@
 #  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 */
+#  define EXTI_COMP6             (1 << 0)  /* EXTI line 32 is connected to the 
Comparator 6 wakeup event */
+#  define EXTI_COMP7             (1 << 1)  /* EXTI line 33 is connected to the 
Comparator 7 wakeup event */
+#  define EXTI_USART4            (1 << 2)  /* EXTI line 34 is connected to the 
USART4 wakeup event */
+#  define EXTI_USART5            (1 << 3)  /* EXTI line 35 is connected to the 
USART5 wakeup event */
+#  define EXTI_LPUART1           (1 << 4)  /* EXTI line 36 is connected to the 
LPUART1 wakeup event */
+#  define EXTI_LPTIM1            (1 << 5)  /* EXTI line 37 is connected to the 
LPTIM1 wakeup event */
+#  define EXTI_PVM1              (1 << 8)  /* EXTI line 40 is connected to the 
PVM1 wakeup event */
+#  define EXTI_PVM2              (1 << 9)  /* EXTI line 41 is connected to the 
PVM2 wakeup event */
+#  define EXTI_I2C4              (1 << 10) /* EXTI line 42 is connected to the 
I2C4 wakeup event */
+#  define EXTI_UCPD1             (1 << 11) /* EXTI line 43 is connected to the 
UCPD1 wakeup event */
 #endif
 
 /* Interrupt mask register */

Reply via email to