summaryrefslogtreecommitdiff
path: root/chip/mchp/gpio_chip.h
blob: 7baaa76fa2482414153e45e8fe121d8f59692860 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* Copyright 2017 The Chromium OS Authors. All rights reserved
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 *
 * Register map for MCHP MEC processor
 */
/** @file gpio_chip.h
 *MEC GPIO module
 */
/** @defgroup MEC gpio
 */

#ifndef _GPIO_CHIP_H
#define _GPIO_CHIP_H

#include <stdint.h>
#include <stddef.h>

#include "gpio.h"

#ifdef __cplusplus
extern "C" {
#endif

/* Place any C interfaces here */

int gpio_power_off(enum gpio_signal signal);

void gpio_power_off_by_mask(uint32_t port, uint32_t mask);

#ifdef __cplusplus
}
#endif

#endif /* #ifndef _GPIO_CHIP_H */
/**   @}
 */