![]() |
LibDriver INA226
1.0.0
INA226 full-featured driver
|
ina226 extern driver modules More...
Functions | |
uint8_t | ina226_set_reg (ina226_handle_t *handle, uint8_t reg, uint16_t data) |
set the chip register More... | |
uint8_t | ina226_get_reg (ina226_handle_t *handle, uint8_t reg, uint16_t *data) |
get the chip register More... | |
ina226 extern driver modules
uint8_t ina226_get_reg | ( | ina226_handle_t * | handle, |
uint8_t | reg, | ||
uint16_t * | data | ||
) |
get the chip register
[in] | *handle | pointer to an ina226 handle structure |
[in] | reg | register address |
[out] | *data | pointer to a data buffer |
Definition at line 1914 of file driver_ina226.c.
uint8_t ina226_set_reg | ( | ina226_handle_t * | handle, |
uint8_t | reg, | ||
uint16_t | data | ||
) |
set the chip register
[in] | *handle | pointer to an ina226 handle structure |
[in] | reg | register address |
[in] | data | written data |
Definition at line 1888 of file driver_ina226.c.