Go to the source code of this file.
◆ mfd_nct38xx_get_i2c_dt_spec()
Get the I2C DT spec reference for a NCT38xx instance.
- Parameters
-
[in] | dev | Pointer to device struct of the driver instance |
- Returns
- Address of the I2C DT spec
◆ mfd_nct38xx_get_lock_reference()
struct k_sem * mfd_nct38xx_get_lock_reference |
( |
const struct device * | dev | ) |
|
Get the semaphore reference for a NCT38xx instance.
Callers should pass the return value to k_sem_take/k_sem_give
- Parameters
-
[in] | dev | Pointer to device struct of the driver instance |
- Returns
- Address of the semaphore