![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /usr/src/kernels/4.18.0-553.50.1.el8_10.x86_64/include/linux/iio/timer/ |
/* * Copyright (C) STMicroelectronics 2017 * * Author: Fabrice Gasnier <[email protected]> * * License terms: GNU General Public License (GPL), version 2 */ #ifndef _STM32_LPTIM_TRIGGER_H_ #define _STM32_LPTIM_TRIGGER_H_ #include <linux/iio/iio.h> #include <linux/iio/trigger.h> #define LPTIM1_OUT "lptim1_out" #define LPTIM2_OUT "lptim2_out" #define LPTIM3_OUT "lptim3_out" #if IS_REACHABLE(CONFIG_IIO_STM32_LPTIMER_TRIGGER) bool is_stm32_lptim_trigger(struct iio_trigger *trig); #else static inline bool is_stm32_lptim_trigger(struct iio_trigger *trig) { #if IS_ENABLED(CONFIG_IIO_STM32_LPTIMER_TRIGGER) pr_warn_once("stm32 lptim_trigger not linked in\n"); #endif return false; } #endif #endif