|
int8_t | ad7280a_init (struct ad7280a_dev **device, struct ad7280a_init_param init_param) |
|
int32_t | ad7280a_remove (struct ad7280a_dev *dev) |
| Free the resources allocated by AD7280A_Init(). More...
|
|
uint32_t | ad7280a_transfer_32bits (struct ad7280a_dev *dev, uint32_t data) |
|
uint32_t | ad7280a_crc_write (uint32_t message) |
|
int32_t | ad7280a_crc_read (uint32_t message) |
|
int8_t | ad7280a_convert_read_all (struct ad7280a_dev *dev) |
|
int8_t | ad7280a_convert_data_all (struct ad7280a_dev *dev) |
|
int16_t | ad7280a_read_register (struct ad7280a_dev *dev, uint8_t dev_addr, uint8_t read_reg) |
|
int16_t | ad7280a_read_conversion (struct ad7280a_dev *dev, uint8_t dev_addr, uint8_t read_reg) |
|
float | ad7280a_convert_data (uint8_t type, uint16_t data) |
|
void | ad7280a_write_register (struct ad7280a_dev *dev, uint8_t dev_addr, uint8_t read_reg, uint8_t reg_val) |
|
void | ad7280a_selftest_all (struct ad7280a_dev *dev, float *self_test_reg_a, float *self_test_reg_b) |
|
uint8_t | ad7280a_alert_pin (struct ad7280a_dev *dev) |
|
Driver for the AD7280A Lithium Ion Battery Monitoring System.
Driver's header for the AD7280A Lithium Ion Battery Monitoring System.
- Author
- Lucian Sin (Lucia.nosp@m.n.Si.nosp@m.n@ana.nosp@m.log..nosp@m.com)
Copyright 2014(c) Analog Devices, Inc.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of Analog Devices, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES, INC. “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.