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
9#pragma once
10
21
22#include <stdbool.h>
23
24#include "gpio_arch_common.h"
25#include "periph/gpio.h"
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
35void gpio_pm_sleep_enter(unsigned mode);
36
41void gpio_pm_sleep_exit(uint32_t cause);
42
43#ifdef __cplusplus
44}
45#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.