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
20
extern
"C"
{
21
#endif
22
31
44
int
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_ */
device.h
APIs and macros for the Zephyr device model.
mfd_bq2589x_reg_update
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.
stdint.h
uint8_t
__UINT8_TYPE__ uint8_t
Definition
stdint.h:88
device
Runtime device structure (in ROM) per driver instance.
Definition
device.h:543
zephyr
drivers
mfd
bq2589x.h
Generated on
for Zephyr API Documentation by
1.16.1