![]() |
no-OS
|
Implementation of the program's main function. More...
#include <stdio.h>#include "xil_cache.h"#include "xparameters.h"#include "no_os_spi.h"#include "xilinx_spi.h"#include "no_os_delay.h"#include "no_os_error.h"#include "axi_adc_core.h"#include "axi_dmac.h"#include "no_os_axi_io.h"#include "ad9467.h"#include "ad9517.h"#include "parameters.h"Macros | |
| #define | CF_REG_DELAY_CTRL 0x60 |
| #define | CF_REG_DELAY_STATUS 0x20 |
| #define | CF_REG_DATA_MONITOR 0x404 |
| #define | CF_DATA_MONITOR_PN_ERR (1 << 2) |
| #define | CF_DATA_MONITOR_PN_SYNC (1 << 1) |
| #define | CF_DATA_MONITOR_PN_OVER_RNG (1 << 0) |
Enumerations | |
| enum | type_output_modes { OFFSET_BINARY = 0 , TWOS_COMPLEMENT , GRAY_CODE } |
| enum | type_test_modes { TEST_DISABLE = 0 , MIDSCALE , POS_FULLSCALE , NEG_FULLSCALE , CHECKERBOARD , PN_23_SEQUENCE , PN_9_SEQUENCE , ONE_ZERO_TOGGLE } |
Functions | |
| void | adc_test (struct axi_adc *adc, struct axi_dmac *dma, struct ad9467_dev *dev, uint32_t mode, uint32_t format) |
| void | display_test_mode (uint32_t mode, uint32_t format) |
| int | main () |
| Main function. | |
Variables | |
| enum type_output_modes | type_output_modes |
| enum type_test_modes | type_test_modes |
| struct ad9517_platform_data | ad9517_pdata_lpc |
| struct ad9517_lvpecl_channel_spec | ad9517_lvpecl_channels [] |
| struct ad9517_lvds_cmos_channel_spec | ad9517_lvds_cmos_channels [] |
Implementation of the program's main function.
Copyright 2020(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
SVN Revision: $WCREV$
| #define CF_DATA_MONITOR_PN_ERR (1 << 2) |
| #define CF_DATA_MONITOR_PN_OVER_RNG (1 << 0) |
| #define CF_DATA_MONITOR_PN_SYNC (1 << 1) |
| #define CF_REG_DATA_MONITOR 0x404 |
| #define CF_REG_DELAY_CTRL 0x60 |
| #define CF_REG_DELAY_STATUS 0x20 |
| enum type_output_modes |
| enum type_test_modes |
| void adc_test | ( | struct axi_adc * | adc, |
| struct axi_dmac * | dma, | ||
| struct ad9467_dev * | dev, | ||
| uint32_t | mode, | ||
| uint32_t | format ) |
| void display_test_mode | ( | uint32_t | mode, |
| uint32_t | format ) |
| int main | ( | void | ) |
Main function.
| struct ad9517_lvds_cmos_channel_spec ad9517_lvds_cmos_channels[] |
| struct ad9517_lvpecl_channel_spec ad9517_lvpecl_channels[] |
| struct ad9517_platform_data ad9517_pdata_lpc |