Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bq2589x.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: Copyright The Zephyr Project Contributors
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
11
12#ifndef ZEPHYR_INCLUDE_DRIVERS_MFD_BQ2589X_H_
13#define ZEPHYR_INCLUDE_DRIVERS_MFD_BQ2589X_H_
14
15#include <stdint.h>
16
17#include <zephyr/device.h>
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
31
44int mfd_bq2589x_reg_update(const struct device *dev, uint8_t reg, uint8_t mask, uint8_t val);
45
47
48#ifdef __cplusplus
49}
50#endif
51
52#endif /* ZEPHYR_INCLUDE_DRIVERS_MFD_BQ2589X_H_ */
APIs and macros for the Zephyr device model.
int mfd_bq2589x_reg_update(const struct device *dev, uint8_t reg, uint8_t mask, uint8_t val)
Update selected bits in a BQ2589X register.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Runtime device structure (in ROM) per driver instance.
Definition device.h:543