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:
parent
f9adaca473
commit
51fa86bb98
3 changed files with 3 additions and 2 deletions
|
@ -19,6 +19,7 @@
|
||||||
#include <zephyr/sys/__assert.h>
|
#include <zephyr/sys/__assert.h>
|
||||||
#include <soc.h>
|
#include <soc.h>
|
||||||
#include <zephyr/init.h>
|
#include <zephyr/init.h>
|
||||||
|
#include <zephyr/drivers/interrupt_controller/exti_stm32.h>
|
||||||
#include <zephyr/drivers/uart.h>
|
#include <zephyr/drivers/uart.h>
|
||||||
#include <zephyr/drivers/clock_control.h>
|
#include <zephyr/drivers/clock_control.h>
|
||||||
#include <zephyr/drivers/reset.h>
|
#include <zephyr/drivers/reset.h>
|
||||||
|
|
|
@ -16,8 +16,6 @@
|
||||||
|
|
||||||
#include <stm32_ll_usart.h>
|
#include <stm32_ll_usart.h>
|
||||||
|
|
||||||
#define STM32_EXTI_LINE_NONE 0xFFFFFFFFU
|
|
||||||
|
|
||||||
/* device config */
|
/* device config */
|
||||||
struct uart_stm32_config {
|
struct uart_stm32_config {
|
||||||
/* USART instance */
|
/* USART instance */
|
||||||
|
|
|
@ -23,6 +23,8 @@
|
||||||
|
|
||||||
#include <zephyr/types.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
|
#define STM32_EXTI_LINE_NONE 0xFFFFFFFFU
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief enable EXTI interrupt for specific line
|
* @brief enable EXTI interrupt for specific line
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue