mbed library for STMicroelectronics' X-NUCLEO-IKA01A1 expansion board.

Dependents:   HelloWorld_IKA01A1

Fork of X_NUCLEO_IKA01A1 by ST Expansion SW Team

Library for STMicroelectronics' X-NUCLEO-IKA01A1 multifunctional expansion board based on operational amplifiers.

Committer:
Davidroid
Date:
Tue May 09 11:49:16 2017 +0000
Revision:
22:ff8d071bf79e
Aligned to ARM mbed coding style.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Davidroid 22:ff8d071bf79e 1 /**
Davidroid 22:ff8d071bf79e 2 ******************************************************************************
Davidroid 22:ff8d071bf79e 3 * @file TSU124_def.h
Davidroid 22:ff8d071bf79e 4 * @author Central Labs
Davidroid 22:ff8d071bf79e 5 * @version 1.0.0
Davidroid 22:ff8d071bf79e 6 * @date 11-February-2016
Davidroid 22:ff8d071bf79e 7 * @brief Portable architecture for TSU104
Davidroid 22:ff8d071bf79e 8 ******************************************************************************
Davidroid 22:ff8d071bf79e 9 * @attention
Davidroid 22:ff8d071bf79e 10 *
Davidroid 22:ff8d071bf79e 11 * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
Davidroid 22:ff8d071bf79e 12 *
Davidroid 22:ff8d071bf79e 13 * Redistribution and use in source and binary forms, with or without modification,
Davidroid 22:ff8d071bf79e 14 * are permitted provided that the following conditions are met:
Davidroid 22:ff8d071bf79e 15 * 1. Redistributions of source code must retain the above copyright notice,
Davidroid 22:ff8d071bf79e 16 * this list of conditions and the following disclaimer.
Davidroid 22:ff8d071bf79e 17 * 2. Redistributions in binary form must reproduce the above copyright notice,
Davidroid 22:ff8d071bf79e 18 * this list of conditions and the following disclaimer in the documentation
Davidroid 22:ff8d071bf79e 19 * and/or other materials provided with the distribution.
Davidroid 22:ff8d071bf79e 20 * 3. Neither the name of STMicroelectronics nor the names of its contributors
Davidroid 22:ff8d071bf79e 21 * may be used to endorse or promote products derived from this software
Davidroid 22:ff8d071bf79e 22 * without specific prior written permission.
Davidroid 22:ff8d071bf79e 23 *
Davidroid 22:ff8d071bf79e 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
Davidroid 22:ff8d071bf79e 25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
Davidroid 22:ff8d071bf79e 26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
Davidroid 22:ff8d071bf79e 27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
Davidroid 22:ff8d071bf79e 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
Davidroid 22:ff8d071bf79e 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
Davidroid 22:ff8d071bf79e 30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
Davidroid 22:ff8d071bf79e 31 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
Davidroid 22:ff8d071bf79e 32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
Davidroid 22:ff8d071bf79e 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Davidroid 22:ff8d071bf79e 34 *
Davidroid 22:ff8d071bf79e 35 ******************************************************************************
Davidroid 22:ff8d071bf79e 36 */
Davidroid 22:ff8d071bf79e 37
Davidroid 22:ff8d071bf79e 38
Davidroid 22:ff8d071bf79e 39 /* Define to prevent recursive inclusion -------------------------------------*/
Davidroid 22:ff8d071bf79e 40
Davidroid 22:ff8d071bf79e 41 #ifndef __TSU104_H
Davidroid 22:ff8d071bf79e 42 #define __TSU104_H
Davidroid 22:ff8d071bf79e 43
Davidroid 22:ff8d071bf79e 44 #ifdef __cplusplus
Davidroid 22:ff8d071bf79e 45 extern "C" {
Davidroid 22:ff8d071bf79e 46 #endif
Davidroid 22:ff8d071bf79e 47
Davidroid 22:ff8d071bf79e 48
Davidroid 22:ff8d071bf79e 49 /* Includes ------------------------------------------------------------------*/
Davidroid 22:ff8d071bf79e 50
Davidroid 22:ff8d071bf79e 51 /* ACTION --------------------------------------------------------------------*
Davidroid 22:ff8d071bf79e 52 * Include here interface specific header files. *
Davidroid 22:ff8d071bf79e 53 *----------------------------------------------------------------------------*/
Davidroid 22:ff8d071bf79e 54 #include "../Common/windcomp_def.h"
Davidroid 22:ff8d071bf79e 55
Davidroid 22:ff8d071bf79e 56
Davidroid 22:ff8d071bf79e 57 /* Definitions ---------------------------------------------------------------*/
Davidroid 22:ff8d071bf79e 58
Davidroid 22:ff8d071bf79e 59 /** @addtogroup BSP
Davidroid 22:ff8d071bf79e 60 * @{
Davidroid 22:ff8d071bf79e 61 */
Davidroid 22:ff8d071bf79e 62
Davidroid 22:ff8d071bf79e 63 /** @addtogroup Components
Davidroid 22:ff8d071bf79e 64 * @{
Davidroid 22:ff8d071bf79e 65 */
Davidroid 22:ff8d071bf79e 66
Davidroid 22:ff8d071bf79e 67 /** @addtogroup tsz124
Davidroid 22:ff8d071bf79e 68 * @{
Davidroid 22:ff8d071bf79e 69 */
Davidroid 22:ff8d071bf79e 70
Davidroid 22:ff8d071bf79e 71 /** @defgroup tsz124_Exported_Defines tsz124_Exported_Defines
Davidroid 22:ff8d071bf79e 72 * @{
Davidroid 22:ff8d071bf79e 73 */
Davidroid 22:ff8d071bf79e 74 #ifndef NULL
Davidroid 22:ff8d071bf79e 75 #define NULL (void *) 0
Davidroid 22:ff8d071bf79e 76 #endif
Davidroid 22:ff8d071bf79e 77
Davidroid 22:ff8d071bf79e 78 /**
Davidroid 22:ff8d071bf79e 79 * @brief Device Address
Davidroid 22:ff8d071bf79e 80 */
Davidroid 22:ff8d071bf79e 81 #define TSU104_ADDRESS (0x10)
Davidroid 22:ff8d071bf79e 82
Davidroid 22:ff8d071bf79e 83 /* ACTION --------------------------------------------------------------------*
Davidroid 22:ff8d071bf79e 84 * Put here the component's registers' addresses. *
Davidroid 22:ff8d071bf79e 85 *----------------------------------------------------------------------------*/
Davidroid 22:ff8d071bf79e 86
Davidroid 22:ff8d071bf79e 87 /**
Davidroid 22:ff8d071bf79e 88 * @brief Device identification register.
Davidroid 22:ff8d071bf79e 89 * \code
Davidroid 22:ff8d071bf79e 90 * Read
Davidroid 22:ff8d071bf79e 91 * Default value: 0xXX
Davidroid 22:ff8d071bf79e 92 * 7:0 This read-only register contains the device identifier.
Davidroid 22:ff8d071bf79e 93 * \endcode
Davidroid 22:ff8d071bf79e 94 */
Davidroid 22:ff8d071bf79e 95 #define TSU104_WHO_AM_I_ADDR (0x11)
Davidroid 22:ff8d071bf79e 96
Davidroid 22:ff8d071bf79e 97 /**
Davidroid 22:ff8d071bf79e 98 * @brief Device Identifier. Default value of the WHO_AM_I register.
Davidroid 22:ff8d071bf79e 99 */
Davidroid 22:ff8d071bf79e 100 #define I_AM_TSU104 ((uint8_t) (0x24))
Davidroid 22:ff8d071bf79e 101
Davidroid 22:ff8d071bf79e 102 #ifdef __cplusplus
Davidroid 22:ff8d071bf79e 103 }
Davidroid 22:ff8d071bf79e 104 #endif
Davidroid 22:ff8d071bf79e 105
Davidroid 22:ff8d071bf79e 106 #endif /* __TSU104_H */
Davidroid 22:ff8d071bf79e 107
Davidroid 22:ff8d071bf79e 108 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
Davidroid 22:ff8d071bf79e 109