File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
components/ulp/lp_core/lp_core/include Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 11/*
2- * SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD
2+ * SPDX-FileCopyrightText: 2023-2025 Espressif Systems (Shanghai) CO LTD
33 *
44 * SPDX-License-Identifier: Apache-2.0
55 */
@@ -200,6 +200,27 @@ static inline void ulp_lp_core_gpio_clear_intr_status(void)
200200 rtcio_ll_clear_interrupt_status ();
201201}
202202
203+ /**
204+ * @brief Enable wake up for lp io pin
205+ *
206+ * @param lp_io_num The lp io pin to enable the wake up for
207+ * @param intr_type The interrupt type to enable wake up for
208+ */
209+ static inline void ulp_lp_core_gpio_wakeup_enable (lp_io_num_t lp_io_num , gpio_int_type_t intr_type )
210+ {
211+ rtcio_ll_wakeup_enable (lp_io_num , intr_type );
212+ }
213+
214+ /**
215+ * @brief Disable wake up for lp io pin
216+ *
217+ * @param lp_io_num The lp io pin to disable the wake up for
218+ */
219+ static inline void ulp_lp_core_gpio_wakeup_disable (lp_io_num_t lp_io_num )
220+ {
221+ rtcio_ll_wakeup_disable (lp_io_num );
222+ }
223+
203224#ifdef __cplusplus
204225}
205226#endif
You can’t perform that action at this time.
0 commit comments