691228ce01
This adds a driver for the DS2482-800 1-wire multi channel bus driver. The driver uses a split architecture in order to share a common lock among all configured channels of a single IC. Signed-off-by: Caspar Friedrich <c.s.w.friedrich@gmail.com>
15 lines
356 B
C
15 lines
356 B
C
/*
|
|
* Copyright (c) 2023 Caspar Friedrich <c.s.w.friedrich@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef ZEPHYR_DRIVERS_W1_W1_DS2482_800_H_
|
|
#define ZEPHYR_DRIVERS_W1_W1_DS2482_800_H_
|
|
|
|
#include <zephyr/drivers/i2c.h>
|
|
|
|
int ds2482_change_bus_lock_impl(const struct device *dev, bool lock);
|
|
|
|
#endif /* ZEPHYR_DRIVERS_W1_W1_DS2482_800_H_ */
|