资源简介
LTC6813的驱动代码:
LT_SPI.h;
LT_SPI.cpp;
LTC6813.h ;
LTC6813.cpp ;
LTC681x.h ;
LTC681x.cpp;
bms_hardware.h;
bms_hardware.cpp;
DC2350_6813.ino;
LT_SPI.h;
LT_SPI.cpp;
LTC6813.h ;
LTC6813.cpp ;
LTC681x.h ;
LTC681x.cpp;
bms_hardware.h;
bms_hardware.cpp;
DC2350_6813.ino;
代码片段和文件信息
/***************************************************************************//**
* @file LTC6813.cpp
* @brief Library for LTC6813-1 Multi-cell Battery Monitor
* @author BMS (bms.support@analog.com)
REVISION HISTORY
$Revision: 1.0 $
$Date: 2018-11 $
*********************************************************************************
* Copyright 2018(c) Analog Devices Inc.
*
* All rights reserved.
*
* 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.
* - The use of this software may or may not infringe the patent rights
* of one or more patent holders. This license does not release you
* from the requirement that you obtain separate licenses from these
* patent holders to use this software.
* - Use of the software either in source or binary form must be run
* on or directly connected to an Analog Devices Inc. component.
*
* THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES “AS IS“ AND ANY EXPRESS OR
* IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT INDIRECT
* INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT
* LIMITED TO INTELLECTUAL PROPERTY RIGHTS 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.
*******************************************************************************/
//! @ingroup BMS
//! @{
//! @defgroup LTC6813-1 LTC6813-1: Multi-cell Battery Monitor
//! @}
/*! @file
@ingroup LTC6813-1
Library for LTC6813-1 Multi-cell Battery Monitor
*/
#include “stdint.h“
#include “LTC681x.h“
#include “LTC6813.h“
//Helper function to initialize register limits.
void LTC6813_init_reg_limits(uint8_t total_ic cell_asic *ic)
{
for(uint8_t cic=0; cic {
ic[cic].ic_reg.cell_channels=18;
ic[cic].ic_reg.stat_channels=4;
ic[cic].ic_reg.aux_channels=9;
ic[cic].ic_reg.num_cv_reg=6;
ic[cic].ic_r
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 6310 2018-11-26 18:59 LTC6813_SKETCHBOOK\libraries\Linduino\Linduino.h
文件 22346 2019-01-10 11:10 LTC6813_SKETCHBOOK\libraries\LTC6813\LTC6813.cpp
文件 21666 2019-01-10 11:10 LTC6813_SKETCHBOOK\libraries\LTC6813\LTC6813.h
文件 3591 2018-11-27 14:09 LTC6813_SKETCHBOOK\libraries\LTC681x\bms_hardware.cpp
文件 3205 2018-11-27 14:09 LTC6813_SKETCHBOOK\libraries\LTC681x\bms_hardware.h
文件 58172 2019-01-10 11:10 LTC6813_SKETCHBOOK\libraries\LTC681x\LTC681x.cpp
文件 31270 2019-01-10 11:10 LTC6813_SKETCHBOOK\libraries\LTC681x\LTC681x.h
文件 9986 2018-11-26 18:59 LTC6813_SKETCHBOOK\libraries\LT_SPI\LT_SPI.cpp
文件 5173 2018-11-26 18:59 LTC6813_SKETCHBOOK\libraries\LT_SPI\LT_SPI.h
文件 4259 2018-11-26 18:59 LTC6813_SKETCHBOOK\libraries\UserInterface\UserInterface.cpp
文件 2885 2018-11-26 18:59 LTC6813_SKETCHBOOK\libraries\UserInterface\UserInterface.h
文件 53508 2019-01-10 11:10 LTC6813_SKETCHBOOK\Part number\6813\DC2350_6813\DC2350_6813.ino
目录 0 2019-01-10 14:03 LTC6813_SKETCHBOOK\Part number\6813\DC2350_6813
目录 0 2019-01-10 14:01 LTC6813_SKETCHBOOK\libraries\Linduino
目录 0 2019-01-10 14:02 LTC6813_SKETCHBOOK\libraries\LTC6813
目录 0 2019-01-10 14:01 LTC6813_SKETCHBOOK\libraries\LTC681x
目录 0 2019-01-10 14:01 LTC6813_SKETCHBOOK\libraries\LT_SPI
目录 0 2019-01-10 14:01 LTC6813_SKETCHBOOK\libraries\UserInterface
目录 0 2019-01-10 14:03 LTC6813_SKETCHBOOK\Part number\6813
目录 0 2019-01-10 14:02 LTC6813_SKETCHBOOK\libraries
目录 0 2019-01-10 14:03 LTC6813_SKETCHBOOK\Part number
目录 0 2019-10-30 17:01 LTC6813_SKETCHBOOK
----------- --------- ---------- ----- ----
222371 22
- 上一篇:自适应各向异性扩散
- 下一篇:PSCAD电阻型超导限流器数学模型可运行
评论
共有 条评论