Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/sys/contrib/device-tree/Bindings/iio/afe/current-sense-amplifier.txt
48524 views
1
Current Sense Amplifier
2
=======================
3
4
When an io-channel measures the output voltage from a current sense
5
amplifier, the interesting measurement is almost always the current
6
through the sense resistor, not the voltage output. This binding
7
describes such a current sense circuit.
8
9
Required properties:
10
- compatible : "current-sense-amplifier"
11
- io-channels : Channel node of a voltage io-channel.
12
- sense-resistor-micro-ohms : The sense resistance in microohms.
13
14
Optional properties:
15
- sense-gain-mult: Amplifier gain multiplier. The default is <1>.
16
- sense-gain-div: Amplifier gain divider. The default is <1>.
17
18
Example:
19
20
sysi {
21
compatible = "current-sense-amplifier";
22
io-channels = <&tiadc 0>;
23
24
sense-resistor-micro-ohms = <20000>;
25
sense-gain-mul = <50>;
26
};
27
28