blob: c14aec196e413f54415f8d06fc6a9dc9362368bd (
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
|
/* Copyright 2015 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.
*/
/* NPCX-specific SHI module for Chrome EC */
#ifndef SHI_CHIP_H_
#define SHI_CHIP_H_
#ifdef CONFIG_HOSTCMD_SHI
/**
* 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
#endif /* SHI_CHIP_H_ */
|