Searched refs:ina (Results 1 – 1 of 1) sorted by relevance
14 const struct device *const ina = DEVICE_DT_GET_ONE(ti_ina219); in main() local18 if (!device_is_ready(ina)) { in main()19 printf("Device %s is not ready.\n", ina->name); in main()24 rc = sensor_sample_fetch(ina); in main()30 sensor_channel_get(ina, SENSOR_CHAN_VOLTAGE, &v_bus); in main()31 sensor_channel_get(ina, SENSOR_CHAN_POWER, &power); in main()32 sensor_channel_get(ina, SENSOR_CHAN_CURRENT, ¤t); in main()