mbed library for STMicroelectronics' X-NUCLEO-IKA01A1 expansion board.
Dependents: HelloWorld_IKA01A1
Fork of X_NUCLEO_IKA01A1 by
Library for STMicroelectronics' X-NUCLEO-IKA01A1 multifunctional expansion board based on operational amplifiers.
Components/TSZ124/TSZ124.cpp@23:807f66b435d6, 2017-07-13 (annotated)
- Committer:
- Davidroid
- Date:
- Thu Jul 13 15:46:02 2017 +0000
- Revision:
- 23:807f66b435d6
- Parent:
- 22:ff8d071bf79e
Adapting to ARM mbed coding style.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hemddabral | 8:0d9e4ee027e4 | 1 | /** |
hemddabral | 8:0d9e4ee027e4 | 2 | ****************************************************************************** |
Davidroid | 22:ff8d071bf79e | 3 | * @file TSZ124.cpp |
hemddabral | 8:0d9e4ee027e4 | 4 | * @author Central Labs |
hemddabral | 8:0d9e4ee027e4 | 5 | * @version 1.0.0 |
hemddabral | 8:0d9e4ee027e4 | 6 | * @date 11-February-2016 |
hemddabral | 8:0d9e4ee027e4 | 7 | * @brief Portable architecture for TSZ124 |
hemddabral | 8:0d9e4ee027e4 | 8 | ****************************************************************************** |
hemddabral | 8:0d9e4ee027e4 | 9 | * @attention |
hemddabral | 8:0d9e4ee027e4 | 10 | * |
hemddabral | 8:0d9e4ee027e4 | 11 | * <h2><center>© COPYRIGHT(c) 2015 STMicroelectronics</center></h2> |
hemddabral | 8:0d9e4ee027e4 | 12 | * |
hemddabral | 8:0d9e4ee027e4 | 13 | * Redistribution and use in source and binary forms, with or without modification, |
hemddabral | 8:0d9e4ee027e4 | 14 | * are permitted provided that the following conditions are met: |
hemddabral | 8:0d9e4ee027e4 | 15 | * 1. Redistributions of source code must retain the above copyright notice, |
hemddabral | 8:0d9e4ee027e4 | 16 | * this list of conditions and the following disclaimer. |
hemddabral | 8:0d9e4ee027e4 | 17 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
hemddabral | 8:0d9e4ee027e4 | 18 | * this list of conditions and the following disclaimer in the documentation |
hemddabral | 8:0d9e4ee027e4 | 19 | * and/or other materials provided with the distribution. |
hemddabral | 8:0d9e4ee027e4 | 20 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
hemddabral | 8:0d9e4ee027e4 | 21 | * may be used to endorse or promote products derived from this software |
hemddabral | 8:0d9e4ee027e4 | 22 | * without specific prior written permission. |
hemddabral | 8:0d9e4ee027e4 | 23 | * |
hemddabral | 8:0d9e4ee027e4 | 24 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
hemddabral | 8:0d9e4ee027e4 | 25 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
hemddabral | 8:0d9e4ee027e4 | 26 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
hemddabral | 8:0d9e4ee027e4 | 27 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
hemddabral | 8:0d9e4ee027e4 | 28 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
hemddabral | 8:0d9e4ee027e4 | 29 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
hemddabral | 8:0d9e4ee027e4 | 30 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
hemddabral | 8:0d9e4ee027e4 | 31 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
hemddabral | 8:0d9e4ee027e4 | 32 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
hemddabral | 8:0d9e4ee027e4 | 33 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
hemddabral | 8:0d9e4ee027e4 | 34 | * |
hemddabral | 8:0d9e4ee027e4 | 35 | ****************************************************************************** |
hemddabral | 8:0d9e4ee027e4 | 36 | */ |
hemddabral | 8:0d9e4ee027e4 | 37 | |
hemddabral | 8:0d9e4ee027e4 | 38 | |
hemddabral | 8:0d9e4ee027e4 | 39 | /* Generated with STM32CubeTOO -----------------------------------------------*/ |
hemddabral | 8:0d9e4ee027e4 | 40 | |
hemddabral | 2:19d1dcef0c0e | 41 | |
hemddabral | 8:0d9e4ee027e4 | 42 | /* Revision ------------------------------------------------------------------*/ |
hemddabral | 8:0d9e4ee027e4 | 43 | /* |
hemddabral | 8:0d9e4ee027e4 | 44 | Repository: http://svn.x-nucleodev.codex.cro.st.com/svnroot/X-NucleoDev |
hemddabral | 8:0d9e4ee027e4 | 45 | Branch/Trunk/Tag: trunk |
hemddabral | 8:0d9e4ee027e4 | 46 | Based on: X-CUBE-IKA01A1/trunk/Drivers/BSP/Components/tsz124/tsz124.c |
hemddabral | 8:0d9e4ee027e4 | 47 | Revision: 410 |
hemddabral | 8:0d9e4ee027e4 | 48 | */ |
hemddabral | 8:0d9e4ee027e4 | 49 | |
hemddabral | 8:0d9e4ee027e4 | 50 | |
hemddabral | 8:0d9e4ee027e4 | 51 | /* Includes ------------------------------------------------------------------*/ |
hemddabral | 8:0d9e4ee027e4 | 52 | |
Davidroid | 22:ff8d071bf79e | 53 | #include "TSZ124.h" |
hemddabral | 8:0d9e4ee027e4 | 54 | |
hemddabral | 8:0d9e4ee027e4 | 55 | |
hemddabral | 8:0d9e4ee027e4 | 56 | /* Methods -------------------------------------------------------------------*/ |
hemddabral | 8:0d9e4ee027e4 | 57 | |
hemddabral | 8:0d9e4ee027e4 | 58 | /* TSZ124's private functions. */ |
hemddabral | 8:0d9e4ee027e4 | 59 | |
Davidroid | 22:ff8d071bf79e | 60 | status_t TSZ124::TSZ124_Init(void *init) { |
hemddabral | 8:0d9e4ee027e4 | 61 | return COMPONENT_OK; |
hemddabral | 8:0d9e4ee027e4 | 62 | } |
hemddabral | 8:0d9e4ee027e4 | 63 | |
hemddabral | 13:9cecc8d66cc1 | 64 | unsigned int TSZ124::TSZ124_ReadID(void *init) { |
hemddabral | 13:9cecc8d66cc1 | 65 | return I_AM_TSZ124; |
hemddabral | 8:0d9e4ee027e4 | 66 | } |
hemddabral | 8:0d9e4ee027e4 | 67 | |
hemddabral | 8:0d9e4ee027e4 | 68 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |
hemddabral | 8:0d9e4ee027e4 | 69 |