Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: platform_drivers LTC26X6 AD77681
cn0540_app_config.h
00001 /****************************************************************************** 00002 *Copyright (c)2020 Analog Devices, Inc. 00003 * 00004 * Licensed under the 2020-04-27-CN0540EC License(the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * 00007 ****************************************************************************/ 00008 00009 #ifndef _APP_CONFIG_H_ 00010 #define _APP_CONFIG_H_ 00011 00012 #include <stdint.h> 00013 #include "platform_drivers.h" 00014 #ifdef __cplusplus 00015 extern "C" 00016 { 00017 #endif 00018 #ifdef __cplusplus 00019 #include "ad77681.h" 00020 } 00021 #endif 00022 00023 #define ARDUINO 00024 00025 /** 00026 The ADI SDP_K1 can be used with both arduino headers 00027 or the 120-pin SDP connector found on ADI evaluation 00028 boards. The default is the SDP connector 00029 00030 Uncomment the ARDUINO #define above to enable the ARDUINO connector 00031 00032 */ 00033 //#warning check this 00034 #ifdef ARDUINO 00035 #define I2C_SCL D15 00036 #define I2C_SDA D14 00037 00038 #define SPI_CS D10 00039 #define SPI_MISO D12 00040 #define SPI_MOSI D11 00041 #define SPI_SCK D13 00042 00043 #else 00044 00045 #define I2C_SCL SDP_I2C_SCL 00046 #define I2C_SDA SDP_I2C_SDA 00047 00048 #define SPI_CS SDP_SPI_CS_A 00049 #define SPI_MISO SDP_SPI_MISO 00050 #define SPI_MOSI SDP_SPI_MOSI 00051 #define SPI_SCK SDP_SPI_SCK 00052 00053 #endif 00054 00055 #endif //_APP_CONFIG_H_ 00056 00057 00058 00059
Generated on Sun Jul 17 2022 08:53:29 by
1.7.2