gpio_arch.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2021 Gunar Schorcht
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
19 #include <stdbool.h>
20 
21 #include "gpio_arch_common.h"
22 #include "periph/gpio.h"
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
32 void gpio_pm_sleep_enter(unsigned mode);
33 
38 void gpio_pm_sleep_exit(uint32_t cause);
39 
40 #ifdef __cplusplus
41 }
42 #endif
void gpio_pm_sleep_enter(unsigned mode)
Called before the power management enters a light or deep sleep mode.
void gpio_pm_sleep_exit(uint32_t cause)
Called after the power management left light sleep mode.
Low-level GPIO peripheral driver interface definitions.
Architecture specific GPIO functions for ESP SoCs.