| Linduino 1.3.0 Linear Technology Arduino-Compatible Demonstration Board

LTC2933.h
Go to the documentation of this file.
1 /*!
2 LTC2933: Programable Hex Voltage Supervisor with EEPROM
3
4 @verbatim
5
6 @endverbatim
7
8 http://www.linear.com/product/LTC2933
9
10 http://www.linear.com/demo/DC1633B
11
12
13 Copyright 2018(c) Analog Devices, Inc.
14
15 All rights reserved.
16
17 Redistribution and use in source and binary forms, with or without
18 modification, are permitted provided that the following conditions are met:
19 - Redistributions of source code must retain the above copyright
20 notice, this list of conditions and the following disclaimer.
21 - Redistributions in binary form must reproduce the above copyright
22 notice, this list of conditions and the following disclaimer in
23 the documentation and/or other materials provided with the
24 distribution.
25 - Neither the name of Analog Devices, Inc. nor the names of its
26 contributors may be used to endorse or promote products derived
27 from this software without specific prior written permission.
28 - The use of this software may or may not infringe the patent rights
29 of one or more patent holders. This license does not release you
30 from the requirement that you obtain separate licenses from these
31 patent holders to use this software.
32 - Use of the software either in source or binary form, must be run
33 on or directly connected to an Analog Devices Inc. component.
34
35 THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR
36 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT,
37 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
38 IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT,
39 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
40 LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR
41 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
42 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
43 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
44 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
45 */
46
47 //! @ingroup Power_System_Management
48 //! @{
49 //! @defgroup LTC2933 LTC2933: Programable Hex Voltage Supervisor with EEPROM
50 //! @}
51
52 /*! @file
53 @ingroup LTC2933
54 Header for LTC2933: Programable Hex Voltage Supervisor with EEPROM
55 */
56
57 #ifndef LTC2933_h
58 #define LTC2933_h
59
60 //! @name LTC2933 DEVICE I2C ADDRESSES (7-bit)
61 // GLOBAL ADDRESS
62 #define LTC2933_I2C_GLOBAL_ADDRESS 0x1B
63 #define LTC2933_I2C_ARA_ADDRESS 0x0C
64 //DEVICE ADDRESSES
65 //#define LTC2933_I2C_ADDRESS 0x1C
66 //#define LTC2933_I2C_ADDRESS 0x1D
67 //#define LTC2933_I2C_ADDRESS 0x1E
68 //! @}
69
70 //! @name LTC2933 REGISTER DEFINITIONS
71 #define LTC2933_WRITE_PROTECT 0x00
72 #define LTC2933_GPI_CONFIG 0x01
73 #define LTC2933_GPIO1_CONFIG 0x02
74 #define LTC2933_GPIO2_3_CONFIG 0x03
75 #define LTC2933_V1_THR 0x04
76 #define LTC2933_V2_THR 0x05
77 #define LTC2933_V3_THR 0x06
78 #define LTC2933_V4_THR 0x07
79 #define LTC2933_V5_THR 0x08
80 #define LTC2933_V6_THR 0x09
81 #define LTC2933_V1_CONFIG 0x0A
82 #define LTC2933_V2_CONFIG 0x0B
83 #define LTC2933_V3_CONFIG 0x0C
84 #define LTC2933_V4_CONFIG 0x0D
85 #define LTC2933_V5_CONFIG 0x0E
86 #define LTC2933_V6_CONFIG 0x0F
87 // 0x10
88 #define LTC2933_HISTORY_WORD 0x11
89 // 0x12
90 // ...
91 // 0x1A
92 #define LTC2933_CLEAR_HISTORY 0x1B
93 #define LTC2933_STORE_USER 0x1C
94 #define LTC2933_RESTORE_USER 0x1D
95 #define LTC2933_BACKUP_WORD 0x1E
96 #define LTC2933_STATUS_WORD 0x1F
97 //! @}
98
99 #endif