blob: 9d41a2dcab08e8abb29adf3c03e900bc90a5f67d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* Copyright 2015 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* NPCX-specific SHI module for Chrome EC */
#ifndef __CROS_EC_SHI_CHIP_H_
#define __CROS_EC_SHI_CHIP_H_
/**
* Called when the NSS level changes, signalling the start of a SHI
* transaction.
*
* @param signal GPIO signal that changed
*/
void shi_cs_event(enum gpio_signal signal);
#ifdef NPCX_SHI_V2
void shi_cs_gpio_int(enum gpio_signal signal);
#endif
#endif /* __CROS_EC_SHI_CHIP_H_ */
|