Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
npcx-i2c.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Nuvoton Technology Corporation.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_I2C_NPCX_H_
7#define ZEPHYR_INCLUDE_DT_BINDINGS_I2C_NPCX_H_
8
9
10#define NPCX_I2C_CTRL_PORT(ctrl, port) (((ctrl & 0xf) << 4) | (port & 0xf))
11
12#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_I2C_NPCX_H_ */