Loading...
Searching...
No Matches
gpio_arch.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2021 Gunar Schorcht
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
20#ifndef GPIO_ARCH_H
21#define GPIO_ARCH_H
22
23#include <stdbool.h>
24
25#include "gpio_arch_common.h"
26#include "periph/gpio.h"
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
36void gpio_pm_sleep_enter(unsigned mode);
37
42void gpio_pm_sleep_exit(uint32_t cause);
43
44#ifdef __cplusplus
45}
46#endif
47
48#endif /* GPIO_ARCH_H */
Low-level GPIO peripheral driver interface definitions.
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.
Architecture specific GPIO functions for ESP SoCs.