TLx493D 3D Hall Sensor Generic Library  1.3
Generic library for the TLx493D 3D Hall sensor family
interface.h
Go to the documentation of this file.
1 
2 /*****************************************************************************
3 *
4 * Copyright (C) 2017 Infineon Technologies AG. All rights reserved.
5 *
6 * Infineon Technologies AG (INFINEON) is supplying this file for use
7 * exclusively with Infineon's products. This file can be freely
8 * distributed within development tools and software supporting such microcontroller
9 * products.
10 *
11 * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
12 * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
13 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
14 * INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR DIRECT, INDIRECT, INCIDENTAL,
15  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
16 *
17 ******************************************************************************/
18 
19 
58 #ifndef SRC_TLX493D_INTERFACE_H_
59 #define SRC_TLX493D_INTERFACE_H_
60 
61 #include <stddef.h>
62 
63 
64 // TODO: complete this file and remove the #error directive below
65 #error "interface.h not completed"
66 
85 #define _I2C_read
86 
87 
103 #define _I2C_write
104 
105 
116 #define _I2C_recover()
117 
118 
129 #define _I2C_reset()
130 
131 
149 #define _SET_ADDR_AND_WAIT(high)
150 
151 
162 #define _POWER_ENABLE()
163 
164 
175 #define _POWER_DISABLE()
176 
189 #define _LOG_STR(buff, len)
190 
191 #endif /* SRC_TLX493D_INTERFACE_H_ */