Adding mbed FW version and release notes

Committer:
Vkadaba
Date:
Fri Oct 25 05:08:19 2019 +0000
Revision:
32:52445bef314d
Parent:
5:0728bde67bdb
Register map updated.; Files changed:; 1. ADMW1001_REGISTERS.h; 2.ADMW1001_REGISTERS_typedefs.h; 3.admw_api.h; ; Changes are done to support the new register map. ; Files changed:; 1.utils.c; 2.admw1001.c; ; admw_spi.cpp file is changed to test DRDY issue ;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ADIJake 0:85855ecd3257 1 /*
ADIJake 0:85855ecd3257 2 Copyright (c) 2017 Analog Devices, Inc.
ADIJake 0:85855ecd3257 3
ADIJake 0:85855ecd3257 4 All rights reserved.
ADIJake 0:85855ecd3257 5
ADIJake 0:85855ecd3257 6 Redistribution and use in source and binary forms, with or without modification,
ADIJake 0:85855ecd3257 7 are permitted provided that the following conditions are met:
ADIJake 0:85855ecd3257 8 - Redistributions of source code must retain the above copyright notice,
ADIJake 0:85855ecd3257 9 this list of conditions and the following disclaimer.
ADIJake 0:85855ecd3257 10 - Redistributions in binary form must reproduce the above copyright notice,
ADIJake 0:85855ecd3257 11 this list of conditions and the following disclaimer in the documentation
ADIJake 0:85855ecd3257 12 and/or other materials provided with the distribution.
ADIJake 0:85855ecd3257 13 - Modified versions of the software must be conspicuously marked as such.
ADIJake 0:85855ecd3257 14 - This software is licensed solely and exclusively for use with processors
ADIJake 0:85855ecd3257 15 manufactured by or for Analog Devices, Inc.
ADIJake 0:85855ecd3257 16 - This software may not be combined or merged with other code in any manner
ADIJake 0:85855ecd3257 17 that would cause the software to become subject to terms and conditions
ADIJake 0:85855ecd3257 18 which differ from those listed here.
ADIJake 0:85855ecd3257 19 - Neither the name of Analog Devices, Inc. nor the names of its
ADIJake 0:85855ecd3257 20 contributors may be used to endorse or promote products derived
ADIJake 0:85855ecd3257 21 from this software without specific prior written permission.
ADIJake 0:85855ecd3257 22 - The use of this software may or may not infringe the patent rights of one
ADIJake 0:85855ecd3257 23 or more patent holders. This license does not release you from the
ADIJake 0:85855ecd3257 24 requirement that you obtain separate licenses from these patent holders
ADIJake 0:85855ecd3257 25 to use this software.
ADIJake 0:85855ecd3257 26
ADIJake 0:85855ecd3257 27 THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES, INC. AND CONTRIBUTORS "AS IS" AND ANY
ADIJake 0:85855ecd3257 28 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT,
ADIJake 0:85855ecd3257 29 TITLE, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
ADIJake 0:85855ecd3257 30 NO EVENT SHALL ANALOG DEVICES, INC. OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
ADIJake 0:85855ecd3257 31 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, PUNITIVE OR CONSEQUENTIAL DAMAGES
ADIJake 0:85855ecd3257 32 (INCLUDING, BUT NOT LIMITED TO, DAMAGES ARISING OUT OF CLAIMS OF INTELLECTUAL
ADIJake 0:85855ecd3257 33 PROPERTY RIGHTS INFRINGEMENT; PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
ADIJake 0:85855ecd3257 34 OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
ADIJake 0:85855ecd3257 35 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
ADIJake 0:85855ecd3257 36 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
ADIJake 0:85855ecd3257 37 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
ADIJake 0:85855ecd3257 38 */
ADIJake 0:85855ecd3257 39
ADIJake 0:85855ecd3257 40 /*!
ADIJake 0:85855ecd3257 41 ******************************************************************************
ADIJake 0:85855ecd3257 42 * @file:
Vkadaba 5:0728bde67bdb 43 * @brief: mbed platform-specific type definitions for ADMW API.
ADIJake 0:85855ecd3257 44 *-----------------------------------------------------------------------------
ADIJake 0:85855ecd3257 45 */
ADIJake 0:85855ecd3257 46
Vkadaba 5:0728bde67bdb 47 #ifndef _PLATFORM_MBED_H__
Vkadaba 5:0728bde67bdb 48 #define _PLATFORM_MBED_H__
ADIJake 0:85855ecd3257 49
Vkadaba 5:0728bde67bdb 50 /*! Maximum number of ADMW device instances supported on this platform */
Vkadaba 5:0728bde67bdb 51 #define ADMW_PLATFORM_MAX_DEVICES 1
ADIJake 0:85855ecd3257 52
ADIJake 0:85855ecd3257 53 typedef struct {
ADIJake 0:85855ecd3257 54 int mosiPin;
ADIJake 0:85855ecd3257 55 int misoPin;
ADIJake 0:85855ecd3257 56 int sckPin;
ADIJake 0:85855ecd3257 57 int csPin;
Vkadaba 5:0728bde67bdb 58 int wakeupPin;
ADIJake 0:85855ecd3257 59 int maxSpeedHz;
Vkadaba 5:0728bde67bdb 60 } ADMW_PLATFORM_SPI_CONFIG;
ADIJake 0:85855ecd3257 61
ADIJake 0:85855ecd3257 62 typedef struct {
ADIJake 0:85855ecd3257 63 int resetPin;
Vkadaba 32:52445bef314d 64 int csPin;
Vkadaba 5:0728bde67bdb 65 int alertErrorPin;
ADIJake 0:85855ecd3257 66 int datareadyPin;
Vkadaba 5:0728bde67bdb 67 } ADMW_PLATFORM_GPIO_CONFIG;
ADIJake 0:85855ecd3257 68
ADIJake 0:85855ecd3257 69 typedef struct {
ADIJake 0:85855ecd3257 70 int txPin;
ADIJake 0:85855ecd3257 71 int rxPin;
ADIJake 0:85855ecd3257 72 int baudRate;
ADIJake 0:85855ecd3257 73 bool disableLogs;
Vkadaba 5:0728bde67bdb 74 } ADMW_PLATFORM_LOG_CONFIG;
ADIJake 0:85855ecd3257 75
Vkadaba 5:0728bde67bdb 76 #endif /* _PLATFORM_MBED_H__ */