no-OS
Macros
app_config.h File Reference

Application configuration. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MULTIDEVICE_INSTANCE_COUNT   1
 
#define AD9081_DAC_FREQUENCY   12000000000
 
#define AD9081_ADC_FREQUENCY   4000000000
 
#define AD9081_ADC_NYQUIST_ZONE   {0, 0, 0, 0}
 
#define AD9081_TX_JESD_MODE   9
 
#define AD9081_TX_JESD_SUBCLASS   1
 
#define AD9081_TX_JESD_VERSION   1
 
#define AD9081_TX_JESD_M   8
 
#define AD9081_TX_JESD_F   4
 
#define AD9081_TX_JESD_K   32
 
#define AD9081_TX_JESD_N   16
 
#define AD9081_TX_JESD_NP   16
 
#define AD9081_TX_JESD_CS   0
 
#define AD9081_TX_JESD_L   4
 
#define AD9081_TX_JESD_S   1
 
#define AD9081_TX_JESD_HD   1
 
#define AD9081_TX_LOGICAL_LANE_MAPPING   {0, 2, 7, 7, 1, 7, 7, 3}
 
#define AD9081_JRX_TPL_PHASE_ADJUST   0x0c
 
#define AD9081_TX_MAIN_INTERPOLATION   6
 
#define AD9081_TX_CHAN_INTERPOLATION   8
 
#define AD9081_TX_MAIN_NCO_SHIFT   {1000000000, 1100000000, 1200000000, 1300000000}
 
#define AD9081_TX_CHAN_NCO_SHIFT   {0, 0, 0, 0, 0, 0, 0, 0}
 
#define AD9081_TX_CHAN_GAIN   {2048, 2048, 2048, 2048, 0, 0, 0, 0}
 
#define AD9081_TX_DAC_CHAN_CROSSBAR   {0x1, 0x2, 0x4, 0x8}
 
#define AD9081_RX_JESD_MODE   10
 
#define AD9081_RX_JESD_SUBCLASS   1
 
#define AD9081_RX_JESD_VERSION   1
 
#define AD9081_RX_JESD_M   8
 
#define AD9081_RX_JESD_F   4
 
#define AD9081_RX_JESD_K   32
 
#define AD9081_RX_JESD_N   16
 
#define AD9081_RX_JESD_NP   16
 
#define AD9081_RX_JESD_CS   0
 
#define AD9081_RX_JESD_L   4
 
#define AD9081_RX_JESD_S   1
 
#define AD9081_RX_JESD_HD   1
 
#define AD9081_RX_LOGICAL_LANE_MAPPING   {2, 0, 7, 7, 7, 7, 3, 1}
 
#define AD9081_RX_LINK_CONVERTER_SELECT   {0, 1, 2, 3, 8, 9, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0}
 
#define AD9081_RX_MAIN_DECIMATION   {4, 4, 4, 4}
 
#define AD9081_RX_CHAN_DECIMATION   {4, 4, 0, 0, 4, 4, 0, 0}
 
#define AD9081_RX_MAIN_ENABLE   {1, 1, 1, 1}
 
#define AD9081_RX_CHAN_ENABLE   {1, 1, 0, 0, 1, 1, 0, 0}
 
#define AD9081_RX_MAIN_NCO_SHIFT   {400000000, -400000000, 100000000, 100000000}
 
#define AD9081_RX_CHAN_NCO_SHIFT   {0, 0, 0, 0, 0, 0, 0, 0}
 

Detailed Description

Application configuration.

Author
DBogdan (drago.nosp@m.s.bo.nosp@m.gdan@.nosp@m.anal.nosp@m.og.co.nosp@m.m)

Copyright 2020(c) Analog Devices, Inc.

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 Analog Devices, Inc. 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 ANALOG DEVICES, INC. “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 ANALOG DEVICES, INC. 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.

Macro Definition Documentation

◆ AD9081_ADC_FREQUENCY

#define AD9081_ADC_FREQUENCY   4000000000

◆ AD9081_ADC_NYQUIST_ZONE

#define AD9081_ADC_NYQUIST_ZONE   {0, 0, 0, 0}

◆ AD9081_DAC_FREQUENCY

#define AD9081_DAC_FREQUENCY   12000000000

◆ AD9081_JRX_TPL_PHASE_ADJUST

#define AD9081_JRX_TPL_PHASE_ADJUST   0x0c

◆ AD9081_RX_CHAN_DECIMATION

#define AD9081_RX_CHAN_DECIMATION   {4, 4, 0, 0, 4, 4, 0, 0}

◆ AD9081_RX_CHAN_ENABLE

#define AD9081_RX_CHAN_ENABLE   {1, 1, 0, 0, 1, 1, 0, 0}

◆ AD9081_RX_CHAN_NCO_SHIFT

#define AD9081_RX_CHAN_NCO_SHIFT   {0, 0, 0, 0, 0, 0, 0, 0}

◆ AD9081_RX_JESD_CS

#define AD9081_RX_JESD_CS   0

◆ AD9081_RX_JESD_F

#define AD9081_RX_JESD_F   4

◆ AD9081_RX_JESD_HD

#define AD9081_RX_JESD_HD   1

◆ AD9081_RX_JESD_K

#define AD9081_RX_JESD_K   32

◆ AD9081_RX_JESD_L

#define AD9081_RX_JESD_L   4

◆ AD9081_RX_JESD_M

#define AD9081_RX_JESD_M   8

◆ AD9081_RX_JESD_MODE

#define AD9081_RX_JESD_MODE   10

◆ AD9081_RX_JESD_N

#define AD9081_RX_JESD_N   16

◆ AD9081_RX_JESD_NP

#define AD9081_RX_JESD_NP   16

◆ AD9081_RX_JESD_S

#define AD9081_RX_JESD_S   1

◆ AD9081_RX_JESD_SUBCLASS

#define AD9081_RX_JESD_SUBCLASS   1

◆ AD9081_RX_JESD_VERSION

#define AD9081_RX_JESD_VERSION   1

◆ AD9081_RX_LINK_CONVERTER_SELECT

#define AD9081_RX_LINK_CONVERTER_SELECT   {0, 1, 2, 3, 8, 9, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0}

◆ AD9081_RX_LOGICAL_LANE_MAPPING

#define AD9081_RX_LOGICAL_LANE_MAPPING   {2, 0, 7, 7, 7, 7, 3, 1}

◆ AD9081_RX_MAIN_DECIMATION

#define AD9081_RX_MAIN_DECIMATION   {4, 4, 4, 4}

◆ AD9081_RX_MAIN_ENABLE

#define AD9081_RX_MAIN_ENABLE   {1, 1, 1, 1}

◆ AD9081_RX_MAIN_NCO_SHIFT

#define AD9081_RX_MAIN_NCO_SHIFT   {400000000, -400000000, 100000000, 100000000}

◆ AD9081_TX_CHAN_GAIN

#define AD9081_TX_CHAN_GAIN   {2048, 2048, 2048, 2048, 0, 0, 0, 0}

◆ AD9081_TX_CHAN_INTERPOLATION

#define AD9081_TX_CHAN_INTERPOLATION   8

◆ AD9081_TX_CHAN_NCO_SHIFT

#define AD9081_TX_CHAN_NCO_SHIFT   {0, 0, 0, 0, 0, 0, 0, 0}

◆ AD9081_TX_DAC_CHAN_CROSSBAR

#define AD9081_TX_DAC_CHAN_CROSSBAR   {0x1, 0x2, 0x4, 0x8}

◆ AD9081_TX_JESD_CS

#define AD9081_TX_JESD_CS   0

◆ AD9081_TX_JESD_F

#define AD9081_TX_JESD_F   4

◆ AD9081_TX_JESD_HD

#define AD9081_TX_JESD_HD   1

◆ AD9081_TX_JESD_K

#define AD9081_TX_JESD_K   32

◆ AD9081_TX_JESD_L

#define AD9081_TX_JESD_L   4

◆ AD9081_TX_JESD_M

#define AD9081_TX_JESD_M   8

◆ AD9081_TX_JESD_MODE

#define AD9081_TX_JESD_MODE   9

◆ AD9081_TX_JESD_N

#define AD9081_TX_JESD_N   16

◆ AD9081_TX_JESD_NP

#define AD9081_TX_JESD_NP   16

◆ AD9081_TX_JESD_S

#define AD9081_TX_JESD_S   1

◆ AD9081_TX_JESD_SUBCLASS

#define AD9081_TX_JESD_SUBCLASS   1

◆ AD9081_TX_JESD_VERSION

#define AD9081_TX_JESD_VERSION   1

◆ AD9081_TX_LOGICAL_LANE_MAPPING

#define AD9081_TX_LOGICAL_LANE_MAPPING   {0, 2, 7, 7, 1, 7, 7, 3}

◆ AD9081_TX_MAIN_INTERPOLATION

#define AD9081_TX_MAIN_INTERPOLATION   6

◆ AD9081_TX_MAIN_NCO_SHIFT

#define AD9081_TX_MAIN_NCO_SHIFT   {1000000000, 1100000000, 1200000000, 1300000000}

◆ MULTIDEVICE_INSTANCE_COUNT

#define MULTIDEVICE_INSTANCE_COUNT   1