EVAL-CN0535-FMCZ Program Files
Dependencies: platform_drivers AD77681
app_config.h
- Committer:
- jngarlitos
- Date:
- 2021-04-12
- Revision:
- 2:998f1de78dae
- Parent:
- 1:f3b5e79a8488
File content as of revision 2:998f1de78dae:
/*! ***************************************************************************** *@file: app_config.h * *@brief: configuration file for EVAL-CN0535-FMCZ example program * *@details: configuration file for EVAL-CN0535-FMCZ example program *----------------------------------------------------------------------------- * Copyright (c) 2021 Analog Devices, Inc. All rights reserved. This software is proprietary to Analog Devices, Inc. and its licensors. By using this software you agree to the terms of the associated Analog Devices Software License Agreement. *****************************************************************************/ #ifndef _APP_CONFIG_H_ #define _APP_CONFIG_H_ #include <stdint.h> #include "platform_drivers.h" #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus } #endif #define ARDUINO /** The ADI SDP_K1 can be used with both arduino headers or the 120-pin SDP connector found on ADI evaluation boards. The default is the SDP connector Uncomment the ARDUINO #define above to enable the ARDUINO connector */ //#warning check this #ifdef ARDUINO #define I2C_SCL D15 #define I2C_SDA D14 #define SPI_CS D10 #define SPI_MISO D12 #define SPI_MOSI D11 #define SPI_SCK D13 #else #define I2C_SCL SDP_I2C_SCL #define I2C_SDA SDP_I2C_SDA #define SPI_CS SDP_SPI_CS_A #define SPI_MISO SDP_SPI_MISO #define SPI_MOSI SDP_SPI_MOSI #define SPI_SCK SDP_SPI_SCK #endif #endif //_APP_CONFIG_H_