blob: 0a52fe91910f921ad04d87b9ca78ee605876b5e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* Copyright 2016 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef __CROS_EC_CHIP_STM32_GPIO_CHIP_H
#define __CROS_EC_CHIP_STM32_GPIO_CHIP_H
#include "include/gpio.h"
/**
* Enable GPIO peripheral clocks.
*/
void gpio_enable_clocks(void);
/**
* Return gpio port clocks that are necessary to support
* the pins in gpio.inc.
*/
int gpio_required_clocks(void);
void __keep gpio_interrupt(void);
#endif /* __CROS_EC_CHIP_STM32_GPIO_CHIP_H */
|