![]() |
LibDriver INA226
1.0.0
INA226 full-featured driver
|
ina226 test driver modules More...
Functions | |
uint8_t | ina226_alert_test_irq_handler (void) |
alert test irq handler More... | |
uint8_t | ina226_alert_test (ina226_address_t addr_pin, double r, ina226_mask_t mask, float threshold, uint32_t timeout_ms) |
alert test More... | |
uint8_t | ina226_read_test (ina226_address_t addr_pin, double r, uint32_t times) |
read test More... | |
uint8_t | ina226_register_test (ina226_address_t addr_pin) |
register test More... | |
ina226 test driver modules
uint8_t ina226_alert_test | ( | ina226_address_t | addr_pin, |
double | r, | ||
ina226_mask_t | mask, | ||
float | threshold, | ||
uint32_t | timeout_ms | ||
) |
alert test
[in] | addr_pin | iic device address |
[in] | r | extern resistance |
[in] | mask | set mask |
[in] | threshold | set threshold |
[in] | timeout_ms | timeout in ms |
Definition at line 124 of file driver_ina226_alert_test.c.
uint8_t ina226_alert_test_irq_handler | ( | void | ) |
alert test irq handler
Definition at line 102 of file driver_ina226_alert_test.c.
uint8_t ina226_read_test | ( | ina226_address_t | addr_pin, |
double | r, | ||
uint32_t | times | ||
) |
read test
[in] | addr_pin | iic device address |
[in] | r | extern resistance |
[in] | times | test times |
Definition at line 51 of file driver_ina226_read_test.c.
uint8_t ina226_register_test | ( | ina226_address_t | addr_pin | ) |
register test
[in] | addr_pin | iic device address |
Definition at line 50 of file driver_ina226_register_test.c.