drivers: exti: stm32: expose STM32_EXTI_LINE_NONE

Common STM32_EXTI_LINE_NONE for declaration and setting
of wakeup EXTI line when configured.

Signed-off-by: Cyril Fougeray <cyril.fougeray@worldcoin.org>
This commit is contained in:
Cyril Fougeray 2022-11-15 14:28:11 +01:00 committed by Stephanos Ioannidis
commit 51fa86bb98
3 changed files with 3 additions and 2 deletions

View file

@ -19,6 +19,7 @@
#include <zephyr/sys/__assert.h>
#include <soc.h>
#include <zephyr/init.h>
#include <zephyr/drivers/interrupt_controller/exti_stm32.h>
#include <zephyr/drivers/uart.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/reset.h>

View file

@ -16,8 +16,6 @@
#include <stm32_ll_usart.h>
#define STM32_EXTI_LINE_NONE 0xFFFFFFFFU
/* device config */
struct uart_stm32_config {
/* USART instance */

View file

@ -23,6 +23,8 @@
#include <zephyr/types.h>
#define STM32_EXTI_LINE_NONE 0xFFFFFFFFU
/**
* @brief enable EXTI interrupt for specific line
*