Files
OpenCellular/chip/mchp/gpio_chip.h
Scott Worley 4e9588ddcf ec_chip_mchp: Add MCHP chip folder
BRANCH=none
BUG=
TEST=Review only. Committing small pieces until
all code passes review.

Change-Id: I9d16f95314a7c97b11c4fe61602c6db2621e6024
Signed-off-by: Scott Worley <scott.worley@microchip.corp-partner.google.com>
2017-12-28 12:35:07 -08:00

39 lines
646 B
C

/* 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 */
/** @}
*/