/* * SPDX-FileCopyrightText: 2021 Gunar Schorcht * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once /** * @ingroup cpu_esp32 * @{ * * @file * @brief Architecture specific GPIO functions for ESP32 * * @author Gunar Schorcht * @} */ #include #include "gpio_arch_common.h" #include "periph/gpio.h" #ifdef __cplusplus extern "C" { #endif /** * @brief Called before the power management enters a light or deep sleep mode * @param mode sleep mode that is entered */ void gpio_pm_sleep_enter(unsigned mode); /** * @brief Called after the power management left light sleep mode * @param cause wake-up cause */ void gpio_pm_sleep_exit(uint32_t cause); #ifdef __cplusplus } #endif