KM3NeT CLB  2.0
KM3NeT CLB v2 Embedded Software
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ltc2489.h
Go to the documentation of this file.
1 /*
2  * KM3NeT CLB v2 Firmware
3  * ----------------------
4  *
5  * Copyright 2013 KM3NeT Collaboration
6  *
7  * All Rights Reserved.
8  *
9  *
10  * File : ltc2489.h
11  * Created : 14 mrt. 2013
12  * Author : Vincent van Beveren
13  */
14 
15 
16 #ifndef LTC2489_H_
17 #define LTC2489_H_
18 
19 #include "drv/wb/i2c.h"
20 
21 /**
22  * @file
23  *
24  * @ingroup i2cdrivers
25  *
26  * Reads a value from the LTC2489 ADC.
27  */
28 
29 /**
30  * Reads the LTC ADC at I2C address 'addr'.
31  */
32 bool ltc2489Read(I2C_Device * dev, int addr);
33 
34 #endif /* LTC2489_H_ */
Structure defines OpenCores I2C Device.
Definition: dev_i2c.h:55
bool ltc2489Read(I2C_Device *dev, int addr)
Reads the LTC ADC at I2C address 'addr'.
Definition: ltc2489.c:20
OpenCores I2C device driver.