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_class.cpp
- Committer:
- hemddabral
- Date:
- 2016-04-06
- Revision:
- 7:c66b5473f3a1
- Parent:
- 6:5dd31859cea3
- Child:
- 16:2f9443aedbe8
File content as of revision 7:c66b5473f3a1:
/** ****************************************************************************** * @file tsu104_class.cpp * @author Central Labs * @version 1.0.0 * @date 11-February-2016 * @brief Portable architecture for TSU104 ****************************************************************************** * @attention * * <h2><center>© COPYRIGHT(c) 2015 STMicroelectronics</center></h2> * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright notice, * this list of conditions and the following disclaimer in the documentation * and/or other materials provided with the distribution. * 3. Neither the name of STMicroelectronics nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * ****************************************************************************** */ /* Generated with STM32CubeTOO -----------------------------------------------*/ /* Revision ------------------------------------------------------------------*/ /* Repository: http://svn.x-nucleodev.codex.cro.st.com/svnroot/X-NucleoDev Branch/Trunk/Tag: trunk Based on: X-CUBE-IKA01A1/trunk/Drivers/BSP/Components/tsu104/tsu104.c Revision: 410 */ /* Includes ------------------------------------------------------------------*/ #include "tsu104_class.h" #include "tsu104.h" /* Methods -------------------------------------------------------------------*/ //static Status_t GetVoltage(unsigned int *ptrVoltage); //static Status_t GetCurrent(unsigned int *ptrCurrent); /* TSU104's private functions. */ Status_t TSU104::TSU104_Init(void *init) { return COMPONENT_OK; } Status_t TSU104::TSU104_ReadID(void *init) { return COMPONENT_OK; } Status_t TSU104::TSU104_ConfigIT(void *init) { return COMPONENT_OK; } /* static unsigned int TSU104_WindComp_Get_D2(void) { return COMPONENT_OK; } static unsigned int TSU104_WindComp_Get_D4(void) { return COMPONENT_OK; } static unsigned int TSU104_PhotoSensor_GetVoltage(PinName pin) { return COMPONENT_OK; } */ /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/