2051f25d2a
The AD7280A monitoring system contains all the functions required for general purpose monitoring and maintenance of stacked lithium ion batteries as used in hybrid electric vehicles, battery backup applications, etc. Changes since V1: Make cell channels all type IIO_IN_DIFF, update documentation accordingly. Remove unused and redundant defines. Use SI units where applicable. Remove unnecessary wrapper function. Remove redundant initialization. Add comments where requested. Revise event handler. Use const where applicable. Changes since V2: Remove redundant adc.h include file, scheduled for removal. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
22 lines
958 B
Plaintext
22 lines
958 B
Plaintext
What: /sys/bus/iio/devices/deviceX/inY-inZ_balance_switch_en
|
|
KernelVersion: 3.0.0
|
|
Contact: linux-iio@vger.kernel.org
|
|
Description:
|
|
Writing 1 enables the cell balance output switch corresponding
|
|
to input Y. Writing 0 disables it. If the inY-inZ_balance_timer
|
|
is set to a none zero value, the corresponding switch will
|
|
enable for the programmed amount of time, before it
|
|
automatically disables.
|
|
|
|
What: /sys/bus/iio/devices/deviceX/inY-inZ_balance_timer
|
|
KernelVersion: 3.0.0
|
|
Contact: linux-iio@vger.kernel.org
|
|
Description:
|
|
The inY-inZ_balance_timer file allows the user to program
|
|
individual times for each cell balance output. The AD7280A
|
|
allows the user to set the timer to a value from 0 minutes to
|
|
36.9 minutes. The resolution of the timer is 71.5 sec.
|
|
The value written is the on-time in milliseconds. When the
|
|
timer value is set 0, the timer is disabled. The cell balance
|
|
outputs are controlled only by inY-inZ_balance_switch_en.
|