Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
nct38xx.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Google, LLC
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6#ifndef ZEPHYR_INCLUDE_DRIVERS_MFD_NCT38XX_H_
7#define ZEPHYR_INCLUDE_DRIVERS_MFD_NCT38XX_H_
8
9#include <zephyr/device.h>
10#include <zephyr/drivers/i2c.h>
11#include <zephyr/kernel.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
25struct k_sem *mfd_nct38xx_get_lock_reference(const struct device *dev);
26
34const struct i2c_dt_spec *mfd_nct38xx_get_i2c_dt_spec(const struct device *dev);
35
36#ifdef __cplusplus
37}
38#endif
39
40#endif /* ZEPHYR_INCLUDE_DRIVERS_MFD_NCT38XX_H_ */
Public APIs for the I2C drivers.
Public kernel APIs.
struct k_sem * mfd_nct38xx_get_lock_reference(const struct device *dev)
Get the semaphore reference for a NCT38xx instance.
const struct i2c_dt_spec * mfd_nct38xx_get_i2c_dt_spec(const struct device *dev)
Get the I2C DT spec reference for a NCT38xx instance.
Runtime device structure (in ROM) per driver instance.
Definition device.h:403
Complete I2C DT information.
Definition i2c.h:77