Linduino  1.3.0
Linear Technology Arduino-Compatible Demonstration Board
LT_SMBusPec.h
Go to the documentation of this file.
1 /*!
2 LTC SMBus Support: Implementation for a shared SMBus layer
3 
4 @verbatim
5 
6 This API is shared with Linduino and RTOS code. End users should code to this
7 API to enable use of the PMBus code without modifications.
8 
9 @endverbatim
10 
11 
12 Copyright 2018(c) Analog Devices, Inc.
13 
14 All rights reserved.
15 
16 Redistribution and use in source and binary forms, with or without
17 modification, are permitted provided that the following conditions are met:
18  - Redistributions of source code must retain the above copyright
19  notice, this list of conditions and the following disclaimer.
20  - Redistributions in binary form must reproduce the above copyright
21  notice, this list of conditions and the following disclaimer in
22  the documentation and/or other materials provided with the
23  distribution.
24  - Neither the name of Analog Devices, Inc. nor the names of its
25  contributors may be used to endorse or promote products derived
26  from this software without specific prior written permission.
27  - The use of this software may or may not infringe the patent rights
28  of one or more patent holders. This license does not release you
29  from the requirement that you obtain separate licenses from these
30  patent holders to use this software.
31  - Use of the software either in source or binary form, must be run
32  on or directly connected to an Analog Devices Inc. component.
33 
34 THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR
35 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT,
36 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
37 IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT,
38 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
39 LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR
40 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
41 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
42 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
43 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
44 */
45 
46 /*! @file
47  @ingroup LT_SMBusPec
48  Library Header File for LT_SMBusPec
49 */
50 
51 #ifndef LT_SMBusPec_H_
52 #define LT_SMBusPec_H_
53 
54 #include <stdint.h>
55 #include <stdio.h>
56 #include <string.h>
57 #include <avr/pgmspace.h>
58 #include "LT_I2CBus.h"
59 #include "LT_SMBusBase.h"
60 
61 class LT_SMBusPec : public LT_SMBusBase
62 {
63  public:
64 
65  LT_SMBusPec();
66  LT_SMBusPec(uint32_t speed);
67  virtual ~LT_SMBusPec() {}
68 };
69 
70 #endif /* LT_SMBusPec_H_ */
virtual ~LT_SMBusPec()
Definition: LT_SMBusPec.h:67
LT_I2CBus: Routines to communicate to I2C by Wire Library.
LTC SMBus Support: Implementation for a shared SMBus layer.