LibDriver INA219
Loading...
Searching...
No Matches
ina219 test driver function

ina219 test driver modules More...

Collaboration diagram for ina219 test driver function:

Functions

uint8_t ina219_read_test (ina219_address_t addr_pin, double r, uint32_t times)
 read test
uint8_t ina219_register_test (ina219_address_t addr_pin)
 register test

Detailed Description

ina219 test driver modules

Function Documentation

◆ ina219_read_test()

uint8_t ina219_read_test ( ina219_address_t addr_pin,
double r,
uint32_t times )

read test

Parameters
[in]addr_piniic device address
[in]rextern resistance
[in]timestest times
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 51 of file driver_ina219_read_test.c.

Here is the call graph for this function:

◆ ina219_register_test()

uint8_t ina219_register_test ( ina219_address_t addr_pin)

register test

Parameters
[in]addr_piniic device address
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 50 of file driver_ina219_register_test.c.

Here is the call graph for this function: