DC2100A
1.2.0
Bi-Directional Cell Balancer Using the LTC3300-1 and the LTC6804-2
Main Page
Libraries
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
LTC1380_Config.h
Go to the documentation of this file.
1
/*
2
Linear Technology DC2100A Demonstration Board.
3
Driver Configuration Header File for LTC1380 Single-Ended 8-Channel/Differential 4-Channel Analog Multiplexer with SMBus Interface.
4
5
@verbatim
6
The LTC1380/LTC1393 are CMOS analog multiplexers with
7
SMBus compatible digital interfaces. The LTC1380 is a
8
single-ended 8-channel multiplexer, while the LTC1393 is a
9
differential 4-channel multiplexer. The SMBus digital interface
10
requires only two wires (SCL and SDA). Both the
11
LTC1380 and the LTC1393 have four hard-wired SMBus
12
addresses, selectable with two external address pins. This
13
allows four devices, each with a unique SMBus address, to
14
coexist on one system and for four devices to be synchronized
15
with one stop bit.
16
The supply current is typically 10mA. Both digital interface
17
pins are SMBus compatible over the full operating supply
18
voltage range. The LTC1380 analog switches feature a
19
typical RON of 35W (±5V supplies), typical switch leakage of
20
20pA and guaranteed break-before-make operation. Charge
21
injection is ±1pC typical.
22
The LTC1380/LTC1393 are available in 16-lead SO and GN
23
packages. Operation is fully specified over the commercial
24
and industrial temperature ranges.
25
@endverbatim
26
27
http://www.linear.com/product/LTC1380
28
29
REVISION HISTORY
30
$Revision: 541 $
31
$Date: 2014-07-30 18:54:03 -0400 (Wed, 30 Jul 2014) $
32
33
Copyright (c) 2013, Linear Technology Corp.(LTC)
34
All rights reserved.
35
36
Redistribution and use in source and binary forms, with or without
37
modification, are permitted provided that the following conditions are met:
38
39
1. Redistributions of source code must retain the above copyright notice, this
40
list of conditions and the following disclaimer.
41
2. Redistributions in binary form must reproduce the above copyright notice,
42
this list of conditions and the following disclaimer in the documentation
43
and/or other materials provided with the distribution.
44
45
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
46
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
47
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
48
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
49
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
50
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
51
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
52
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
53
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
54
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
55
56
The views and conclusions contained in the software and documentation are those
57
of the authors and should not be interpreted as representing official policies,
58
either expressed or implied, of Linear Technology Corp.
59
60
*/
61
62
/*! @file
63
@ingroup LTC1380
64
Driver Configuration Header File for LTC1380 Single-Ended 8-Channel/Differential 4-Channel Analog Multiplexer with SMBus Interface.
65
*/
66
67
#ifndef __LTC1380_CONFIG_H__
68
#define __LTC1380_CONFIG_H__
69
70
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
71
// Includes
72
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
73
#include "
LTC6804-2.h
"
// Interface for LTC1380s on DC2100A is through LTC6804-2
74
75
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
76
// Definitions
77
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
78
79
//! Configures the number of LTC1380 ICs at each logical address.
80
#define LTC1380_CONFIG_NUM_ICS_PER_ADDRESS DC2100A_NUM_MUXES
81
82
//! Configures interface through which LTC1380 driver module sends I2C bytes to an LTC1380 IC.
83
//! - Parameters
84
//! + address: The logical address for the PCB containing this LTC1380 IC.
85
//! + data_ptr: Pointer to LTC1380 bytes to be written via I2C.
86
//! + num_bytes: Number of bytes to be written via I2C.
87
//! + baud_khz: The baud rate of the I2C communication in kHz.
88
//! - Usage Examples
89
//! + If communication is through an LTC6804-2, this macro would call the LTC6804-2 driver's I2C Write function.
90
//! + If communication is direct from the microcontroller, this macro would call the microcontroller's I2C Write function.
91
#define LTC1380_CONFIG_I2C_WRITE(address, data_ptr, num_bytes, baud_khz) \
92
LTC6804_I2C_Write(address, TRUE, TRUE, data_ptr, num_bytes, baud_khz);
93
94
95
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
96
// Global Data
97
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
98
99
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
100
// Global Prototypes
101
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
102
103
#endif
LTC6804-2.h
API Header File for LTC6804-2 Multicell Battery Monitors.
Source
LTC1380_Config.h
Generated on Thu Sep 11 2014 14:00:21 for DC2100A by
1.8.7