Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
|
Go to the source code of this file.
Functions | |
int | mfd_npm1300_reg_read_burst (const struct device *dev, uint8_t base, uint8_t offset, void *data, size_t len) |
Read multiple registers from npm1300. | |
int | mfd_npm1300_reg_read (const struct device *dev, uint8_t base, uint8_t offset, uint8_t *data) |
Read single register from npm1300. | |
int | mfd_npm1300_reg_write (const struct device *dev, uint8_t base, uint8_t offset, uint8_t data) |
Write single register to npm1300. | |
int | mfd_npm1300_reg_write2 (const struct device *dev, uint8_t base, uint8_t offset, uint8_t data1, uint8_t data2) |
Write two registers to npm1300. | |
int | mfd_npm1300_reg_update (const struct device *dev, uint8_t base, uint8_t offset, uint8_t data, uint8_t mask) |
Update selected bits in npm1300 register. | |
int | mfd_npm1300_set_timer (const struct device *dev, uint32_t time_ms) |
Write npm1300 timer register. | |
int | mfd_npm1300_reset (const struct device *dev) |
npm1300 full power reset | |
int | mfd_npm1300_hibernate (const struct device *dev, uint32_t time_ms) |
npm1300 hibernate | |
int | mfd_npm1300_add_callback (const struct device *dev, struct gpio_callback *callback) |
Add npm1300 event callback. | |
int | mfd_npm1300_remove_callback (const struct device *dev, struct gpio_callback *callback) |
Remove npm1300 event callback. | |