Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
current_sense_shunt.h File Reference

Header file for extended ADC API of Current Sense Shunt. More...

Go to the source code of this file.

Data Structures

struct  current_sense_shunt_dt_spec
 Current sense shunt DT struct. More...

Macros

#define CURRENT_SENSE_SHUNT_DT_SPEC_GET(node_id)
 Get current sensor information from devicetree.

Functions

static void current_sense_shunt_scale_dt (const struct current_sense_shunt_dt_spec *spec, int32_t *v_to_i)
 Calculates the actual amperage from a measured voltage.

Detailed Description

Header file for extended ADC API of Current Sense Shunt.