blob: cdf86e86509915568ca12f4b1a994d6b5aadc5b8 [file] [log] [blame]
/*
* Copyright (c) 2020 Nuvoton Technology Corporation.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _NUVOTON_NPCX_SOC_ESPI_H_
#define _NUVOTON_NPCX_SOC_ESPI_H_
#include <zephyr/device.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Turn on all interrupts of eSPI host interface module.
*
* @param dev Pointer to structure device of eSPI module
*/
void npcx_espi_enable_interrupts(const struct device *dev);
/**
* @brief Turn off all interrupts of eSPI host interface module.
*
* @param dev Pointer to structure device of eSPI module
*/
void npcx_espi_disable_interrupts(const struct device *dev);
#ifdef __cplusplus
}
#endif
#endif /* _NUVOTON_NPCX_SOC_ESPI_H_ */