Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
i3c_npcx.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 Nuvoton Technology Corporation.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_DRIVERS_I3C_I3C_NPCX_H_
8#define ZEPHYR_DRIVERS_I3C_I3C_NPCX_H_
9
10#include <zephyr/device.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16#ifdef CONFIG_I3C_NPCX_DMA
17
27void npcx_i3c_target_set_mdma_buff(const struct device *dev, uint8_t *mdma_rd_buf,
28 uint16_t mdma_rd_buf_size, uint8_t *mdma_wr_buf,
29 uint16_t mdma_wr_buf_size);
30
38uint16_t npcx_i3c_target_get_mdmafb_count(const struct device *dev);
39
47uint16_t npcx_i3c_target_get_mdmatb_count(const struct device *dev);
48
49#endif
50
51#ifdef __cplusplus
52}
53#endif
54
55#endif /* ZEPHYR_DRIVERS_I3C_I3C_NPCX_H_ */
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
Runtime device structure (in ROM) per driver instance.
Definition device.h:412