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