no-OS
ad5766_core.h
Go to the documentation of this file.
1 /***************************************************************************/
39 #ifndef AD5766_CORE_H_
40 #define AD5766_CORE_H_
41 
42 /******************************************************************************/
43 /*************************** Types Declarations *******************************/
44 /******************************************************************************/
45 typedef struct {
46  uint32_t core_baseaddr;
47  uint32_t dma_baseaddr;
48  uint32_t dma_source_addr;
49  uint32_t rate_hz;
50  uint32_t spi_clk_hz;
51 } ad5766_core;
52 
53 typedef struct {
54  uint32_t core_baseaddr;
55  uint32_t dma_baseaddr;
56  uint32_t dma_source_addr;
57  uint32_t rate_hz;
58  uint32_t spi_clk_hz;
60 
61 /******************************************************************************/
62 /************************ Functions Declarations ******************************/
63 /******************************************************************************/
64 int32_t ad5766_core_setup(struct spi_engine_desc *eng_desc,
65  ad5766_core **ad_core,
67 #endif
axi_clkgen_init::name
const char * name
Definition: clk_axi_clkgen.h:57
spi_engine_offload_init_param::offload_config
uint8_t offload_config
Definition: spi_engine.h:153
NO_OS_SPI_MODE_1
@ NO_OS_SPI_MODE_1
Definition: no_os_spi.h:68
ID_AD4696
@ ID_AD4696
Definition: ad469x.h:201
ad469x_init
int32_t ad469x_init(struct ad469x_dev **device, struct ad469x_init_param *init_param)
Definition: ad469x.c:874
adc_data
Definition: ad77681.h:496
main
int main()
Definition: ad400x_fmcz.c:28
IIO_APP_DEVICE
#define IIO_APP_DEVICE(_name, _dev, _dev_descriptor, _read_buff, _write_buff)
Definition: iio_app.h:46
ad5758_default_init_param
struct ad5758_init_param ad5758_default_init_param
Definition: ad5758_sdz.c:88
no_os_gpio_init_param
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:85
spi_engine_offload_message::no_commands
uint32_t no_commands
Definition: spi_engine.h:167
no_os_pwm_init_param
Structure containing the init parameters needed by the PWM generator.
Definition: no_os_pwm.h:66
iio_channel
Struct describing the scan type.
Definition: iio_types.h:172
ad400x_init_param
Definition: ad400x.h:75
scan_type::sign
char sign
Definition: iio_types.h:157
ad5766_core::dma_baseaddr
uint32_t dma_baseaddr
Definition: ad5766_core.h:47
AD400X_SPI_ENGINE_BASEADDR
#define AD400X_SPI_ENGINE_BASEADDR
Definition: ad400x_fmcz.c:20
ad463x_init_param::spi_init
struct no_os_spi_init_param * spi_init
Definition: ad463x.h:182
ad469x_init_param::trigger_pwm_init
struct no_os_pwm_init_param * trigger_pwm_init
Definition: ad469x.h:237
clkgen_init
struct axi_clkgen_init clkgen_init
Definition: ad77681evb.c:100
GPIO_RESETN_1
#define GPIO_RESETN_1
Definition: parameters.h:56
ad469x_adv_sequence_set_num_slots
int32_t ad469x_adv_sequence_set_num_slots(struct ad469x_dev *dev, uint8_t num_slots)
Configure advanced sequencer number of slots, temp channel not included.
Definition: ad469x.c:472
NO_OS_GENMASK
#define NO_OS_GENMASK(h, l)
Definition: no_os_util.h:86
spi_extra
const struct xil_spi_init_param spi_extra
Definition: ad5758_sdz.c:59
iio_data_buffer::size
uint32_t size
Definition: iio_app.h:61
ad469x_sequence_disable_temp
int32_t ad469x_sequence_disable_temp(struct ad469x_dev *dev)
Disable temperature read at the end of the sequence, for standard and advanced sequencer.
Definition: ad469x.c:571
SPI_ENGINE_CMD_ASSERT
#define SPI_ENGINE_CMD_ASSERT(delay, cs)
Definition: spi_engine_private.h:119
AD5758_SPI_CS
#define AD5758_SPI_CS
Definition: parameters.h:48
AD463x_SPI_ENGINE_BASEADDR
#define AD463x_SPI_ENGINE_BASEADDR
Definition: parameters.h:51
ad5766_core_setup
int32_t ad5766_core_setup(struct spi_engine_desc *eng_desc, ad5766_core **ad_core, ad5766_core_init_param init_param)
ad5766_core_setup
Definition: ad5766_core.c:168
CS_LOW
#define CS_LOW
Definition: spi_engine.h:79
ad5766_core_init_param::dma_source_addr
uint32_t dma_source_addr
Definition: ad5766_core.h:56
no_os_spi.h
Header file of SPI Interface.
ad400x_dev::spi_desc
no_os_spi_desc * spi_desc
Definition: ad400x.h:68
spi_engine_desc
Structure representing an SPI engine device.
Definition: spi_engine.h:107
ad5766_core_init_param
Definition: ad5766_core.h:53
spi_engine_offload_init
int32_t spi_engine_offload_init(struct no_os_spi_desc *desc, const struct spi_engine_offload_init_param *param)
Initialize the SPI engine's offload module.
Definition: spi_engine.c:757
ad469x_set_channel_sequence
int32_t ad469x_set_channel_sequence(struct ad469x_dev *dev, enum ad469x_channel_sequencing seq)
Set channel sequence.
Definition: ad469x.c:367
ad5758_dac_input_write
int32_t ad5758_dac_input_write(struct ad5758_dev *dev, uint16_t code)
Definition: ad5758.c:492
iio_app.h
Header file of iio_app.
clk_axi_clkgen.h
Driver for the Analog Devices AXI CLKGEN.
pr_err
#define pr_err(fmt, args...)
Definition: no_os_print_log.h:80
ad400x_supported_dev_ids
ad400x_supported_dev_ids
Definition: ad400x.h:57
spi_engine_offload_message::commands_data
uint32_t * commands_data
Definition: spi_engine.h:169
iio_data_buffer::buff
void * buff
Definition: iio_app.h:62
no_os_pwm_init_param::period_ns
uint32_t period_ns
Definition: no_os_pwm.h:70
ad463x_init_param::output_mode
uint8_t output_mode
Definition: ad463x.h:206
no_os_delay.h
Header file of Delay functions.
spi_ip
const struct no_os_spi_init_param spi_ip
Definition: ad5758_sdz.c:63
axi_clkgen_init
Definition: clk_axi_clkgen.h:56
SPI_ENGINE_CONFIG_CPHA
#define SPI_ENGINE_CONFIG_CPHA
Definition: spi_engine_private.h:90
pr_info
#define pr_info(fmt, args...)
Definition: no_os_print_log.h:99
ad400x_device_resol
const uint16_t ad400x_device_resol[]
Device resolution.
Definition: ad400x.c:53
ad469x_enter_conversion_mode
int32_t ad469x_enter_conversion_mode(struct ad469x_dev *dev)
Enter conversion mode. To exit conversion mode send a 5 bit conversion mode command AD469x_CMD_REG_CO...
Definition: ad469x.c:624
spi_engine_offload_message
Structure representing an offload message.
Definition: spi_engine.h:160
ad5766_core::spi_clk_hz
uint32_t spi_clk_hz
Definition: ad5766_core.h:50
AD400X_DMA_BASEADDR
#define AD400X_DMA_BASEADDR
Definition: ad400x_fmcz.c:19
no_os_gpio_init_param::number
int32_t number
Definition: no_os_gpio.h:89
no_os_print_log.h
Print messages helpers.
ad5766_core_setup
int32_t ad5766_core_setup(struct spi_engine_desc *eng_desc, ad5766_core **ad_core, ad5766_core_init_param init_param)
ad5766_core_setup
Definition: ad5766_core.c:168
AD463X_OUT_DATA_PAT
#define AD463X_OUT_DATA_PAT
Definition: ad463x.h:145
AD469x_advanced_seq
@ AD469x_advanced_seq
Definition: ad469x.h:172
xil_gpio_init_param::device_id
uint32_t device_id
Definition: gpio_extra.h:74
AD463X_TWO_LANES_PER_CH
#define AD463X_TWO_LANES_PER_CH
Definition: ad463x.h:122
AD463x_EVB_SAMPLE_NO
#define AD463x_EVB_SAMPLE_NO
Definition: ad463x_fmc.c:64
ad5766_core_read
void ad5766_core_read(ad5766_core *core, uint32_t reg_addr, uint32_t *reg_data)
ad5766_core_read
Definition: ad5766_core.c:136
RANGE_0V_10V
@ RANGE_0V_10V
Definition: ad5758.h:338
NO_OS_ARRAY_SIZE
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:53
ad469x_std_sequence_ch
int32_t ad469x_std_sequence_ch(struct ad469x_dev *dev, uint16_t ch_mask)
Configure standard sequencer channels.
Definition: ad469x.c:522
AD469x_CHANNEL
#define AD469x_CHANNEL(x)
Definition: ad469x.h:152
ad400x_spi_single_conversion
int32_t ad400x_spi_single_conversion(struct ad400x_dev *dev, uint32_t *adc_data)
Definition: ad400x.c:121
SPI_ENGINE_REG_OFFLOAD_CMD_MEM
#define SPI_ENGINE_REG_OFFLOAD_CMD_MEM(x)
Definition: spi_engine_private.h:108
SPI_ENGINE_OFFLOAD_EXAMPLE
#define SPI_ENGINE_OFFLOAD_EXAMPLE
Definition: ad400x_fmcz.c:25
ad5766_core_init_param::rate_hz
uint32_t rate_hz
Definition: ad5766_core.h:57
NO_OS_SPI_MODE_3
@ NO_OS_SPI_MODE_3
Definition: no_os_spi.h:72
xil_gpio_ops
const struct no_os_gpio_platform_ops xil_gpio_ops
Xilinx platform specific gpio platform ops structure.
Definition: xilinx_gpio.c:455
no_os_spi_init_param::device_id
uint32_t device_id
Definition: no_os_spi.h:114
AD463X_32_PATTERN
#define AD463X_32_PATTERN
Definition: ad463x.h:107
ad463x_init_param::trigger_pwm_init
struct no_os_pwm_init_param * trigger_pwm_init
Definition: ad463x.h:186
ad5758.h
Header file for ad5758 Driver.
no_os_spi_init_param::chip_select
uint8_t chip_select
Definition: no_os_spi.h:118
no_os_mdelay
void no_os_mdelay(uint32_t msecs)
Wait until msecs milliseconds passed.
Definition: delay.c:130
iio_app_device::read_buff
struct iio_data_buffer * read_buff
Definition: iio_app.h:69
ad7616_init_param::core_baseaddr
uint32_t core_baseaddr
Definition: ad7616.h:178
ad400x_dev
Definition: ad400x.h:66
CS_HIGH
#define CS_HIGH
Definition: spi_engine.h:78
ad469x_read_data
int32_t ad469x_read_data(struct ad469x_dev *dev, uint8_t channel, uint32_t *buf, uint16_t samples)
Read from device. Enter register mode to read/write registers.
Definition: ad469x.c:752
iio.h
Header file of iio.
no_os_error.h
Error codes definition.
spi_engine_offload_init_param
struct spi_engine_offload_init_param spi_engine_offload_init_param
Definition: ad7616_sdz.c:65
SPI_ENGINE_CMD_TRANSFER
#define SPI_ENGINE_CMD_TRANSFER(readwrite, n)
Definition: spi_engine_private.h:115
DPC_VOLTAGE_MODE
@ DPC_VOLTAGE_MODE
Definition: ad5758.h:274
iio_app_device
Definition: iio_app.h:65
ad5766_core::dma_source_addr
uint32_t dma_source_addr
Definition: ad5766_core.h:48
ad5766_core.h
Header file of AD5766 Core Driver.
ad5766_core::rate_hz
uint32_t rate_hz
Definition: ad5766_core.h:49
ad463x.h
Header file of AD463x Driver.
spi_engine.h
ad5766_dma_read
void ad5766_dma_read(ad5766_core *core, uint32_t reg_addr, uint32_t *reg_data)
ad5766_core_read
Definition: ad5766_core.c:158
SPI_ENGINE_REG_OFFLOAD_CTRL
#define SPI_ENGINE_REG_OFFLOAD_CTRL(x)
Definition: spi_engine_private.h:105
AD469x_DMA_BASEADDR
#define AD469x_DMA_BASEADDR
Definition: parameters.h:51
SPI_ENGINE_REG_OFFLOAD_RESET
#define SPI_ENGINE_REG_OFFLOAD_RESET(x)
Definition: spi_engine_private.h:107
SPI_ENGINE_CMD_CONFIG
#define SPI_ENGINE_CMD_CONFIG(reg, val)
Definition: spi_engine_private.h:123
AD469x_single_cycle
@ AD469x_single_cycle
Definition: ad469x.h:166
AXI_PWMGEN_BASEADDR
#define AXI_PWMGEN_BASEADDR
Definition: parameters.h:53
ad463x_read_data
int32_t ad463x_read_data(struct ad463x_dev *dev, uint32_t *buf, uint16_t samples)
Read from device. Enter register mode to read/write registers.
Definition: ad463x.c:321
AD463X_24_DIFF
#define AD463X_24_DIFF
Definition: ad463x.h:103
iio_data_buffer
Definition: iio_app.h:60
AD400x_EVB_SAMPLE_NO
#define AD400x_EVB_SAMPLE_NO
Definition: ad400x_fmcz.c:18
ad469x_adv_seq_osr
int32_t ad469x_adv_seq_osr(struct ad469x_dev *dev, uint16_t ch, enum ad469x_osr_ratios ratio)
Configure over sampling ratio in advanced sequencer mode.
Definition: ad469x.c:266
CLKOUT_DISABLE
@ CLKOUT_DISABLE
Definition: ad5758.h:293
TOTAL_CH
#define TOTAL_CH
Definition: ad469x_fmcz.c:68
gpio_extra
const struct xil_gpio_init_param gpio_extra
Definition: ad5758_sdz.c:73
spi_engine_offload_message::tx_addr
uint32_t tx_addr
Definition: spi_engine.h:171
ad469x.h
Header file for ad469x Driver.
ad469x_seq_read_data
int32_t ad469x_seq_read_data(struct ad469x_dev *dev, uint32_t *buf, uint16_t samples)
Read from device when converter has the channel sequencer activated. Enter register mode to read/writ...
Definition: ad469x.c:718
ad469x_adv_sequence_set_slot
int32_t ad469x_adv_sequence_set_slot(struct ad469x_dev *dev, uint8_t slot, uint8_t channel)
Advanced sequencer, assign channel to a slot.
Definition: ad469x.c:500
ad5758_init
int32_t ad5758_init(struct ad5758_dev **device, struct ad5758_init_param *init_param)
Definition: ad5758.c:772
ad463x_remove
int32_t ad463x_remove(struct ad463x_dev *dev)
Free the memory allocated by ad463x_init().
Definition: ad463x.c:517
xil_spi_init_param::type
enum xil_spi_type type
Definition: spi_extra.h:80
spi_engine_offload_message::commands
uint32_t * commands
Definition: spi_engine.h:165
NO_OS_PWM_POLARITY_HIGH
@ NO_OS_PWM_POLARITY_HIGH
Definition: no_os_pwm.h:57
ad469x_dev
Structure representing an ad469x device.
Definition: ad469x.h:275
ID_AD4020
@ ID_AD4020
Definition: ad400x.h:61
spi_eng_init_param
struct spi_engine_init_param spi_eng_init_param
Definition: ad7616_sdz.c:70
CLKOUT_FREQ_500_KHZ
@ CLKOUT_FREQ_500_KHZ
Definition: ad5758.h:302
axi_pwm_init_param
Structure holding the initialization parameters for axi PWM.
Definition: axi_pwm_extra.h:55
RX_CLKGEN_BASEADDR
#define RX_CLKGEN_BASEADDR
Definition: parameters.h:52
SPI_ENGINE_CMD_SYNC
#define SPI_ENGINE_CMD_SYNC(id)
Definition: spi_engine_private.h:132
ID_AD4630_24
@ ID_AD4630_24
Definition: ad463x.h:157
ad400x_init
int32_t ad400x_init(struct ad400x_dev **device, struct ad400x_init_param *init_param)
Definition: ad400x.c:141
xil_spi_init_param
Structure holding the initialization parameters for Xilinx platform specific SPI parameters when usin...
Definition: spi_extra.h:78
ad5766_core_init_param::core_baseaddr
uint32_t core_baseaddr
Definition: ad5766_core.h:54
ad400x.h
Header file for ad400x Driver.
ad5758_init_param::spi_init
struct no_os_spi_init_param spi_init
Definition: ad5758.h:395
ad5766_core_write
int32_t ad5766_core_write(ad5766_core *core, uint32_t reg_addr, uint32_t reg_data)
ad5766_core_write
Definition: ad5766_core.c:124
no_os_pwm.h
Header file of PWM Interface.
OFFLOAD_RX_EN
#define OFFLOAD_RX_EN
Definition: spi_engine.h:59
ad469x_std_seq_osr
int32_t ad469x_std_seq_osr(struct ad469x_dev *dev, enum ad469x_osr_ratios ratio)
Configure over sampling ratio in standard sequencer mode.
Definition: ad469x.c:323
ad469x_sequence_enable_temp
int32_t ad469x_sequence_enable_temp(struct ad469x_dev *dev)
Enable temperature read at the end of the sequence, for standard and advanced sequencer.
Definition: ad469x.c:549
AD469x_OSR_16
@ AD469x_OSR_16
Definition: ad469x.h:212
iio_ad463x.h
Header file of iio_ad463x.
SPI_DEVICE_ID
#define SPI_DEVICE_ID
Definition: parameters.h:76
AD463x_SPI_CS
#define AD463x_SPI_CS
Definition: parameters.h:54
iio_types.h
Header file for iio_types.
iio_device::num_ch
uint16_t num_ch
Definition: iio_types.h:247
NO_OS_BIT
#define NO_OS_BIT(x)
Definition: no_os_util.h:51
AD469x_SPI_CS
#define AD469x_SPI_CS
Definition: parameters.h:56
ad5766_core
Definition: ad5766_core.h:45
NO_OS_SPI_BIT_ORDER_MSB_FIRST
@ NO_OS_SPI_BIT_ORDER_MSB_FIRST
Definition: no_os_spi.h:81
ILIMIT_200_mA
@ ILIMIT_200_mA
Definition: ad5758.h:329
ad5766_dma_write
int32_t ad5766_dma_write(ad5766_core *core, uint32_t reg_addr, uint32_t reg_data)
ad5766_core_write
Definition: ad5766_core.c:146
SPI_ENGINE_CMD_REG_CONFIG
#define SPI_ENGINE_CMD_REG_CONFIG
Definition: spi_engine_private.h:78
sine_lut
const uint16_t sine_lut[512]
Definition: ad5766_core.c:54
AD469x_OSR_4
@ AD469x_OSR_4
Definition: ad469x.h:211
ad5766_core_init_param::dma_baseaddr
uint32_t dma_baseaddr
Definition: ad5766_core.h:55
AD469x_SPI_ENGINE_BASEADDR
#define AD469x_SPI_ENGINE_BASEADDR
Definition: parameters.h:52
main
int main()
Definition: ad5758_sdz.c:104
NULL
#define NULL
Definition: wrapper.h:64
parameters.h
Parameters Definitions.
iio_app_device::dev
void * dev
Definition: iio_app.h:67
ad5758_init_param
Definition: ad5758.h:393
SPI_PS
@ SPI_PS
Definition: spi_extra.h:68
xil_spi_ops
const struct no_os_spi_platform_ops xil_spi_ops
Spi engine platform specific SPI platform ops structure.
Definition: xilinx_spi.c:456
spi_engine_init_param
Structure containing the init parameters needed by the SPI engine.
Definition: spi_engine.h:89
init_param
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:96
iio_device
Structure holding channels and attributes of a device.
Definition: iio_types.h:242
ad463x_dev
Device initialization parameters.
Definition: ad463x.h:215
ad5766_core_init_param::spi_clk_hz
uint32_t spi_clk_hz
Definition: ad5766_core.h:58
spi_eng_platform_ops
const struct no_os_spi_platform_ops spi_eng_platform_ops
Spi engine platform specific SPI platform ops structure.
Definition: spi_engine.c:63
AD463X_SDR_MODE
#define AD463X_SDR_MODE
Definition: ad463x.h:100
main
int main()
Definition: ad469x_fmcz.c:132
GPIO_DEVICE_ID
#define GPIO_DEVICE_ID
Definition: parameters.h:77
ad5758_dev
Definition: ad5758.h:377
spi_engine_offload_transfer
int32_t spi_engine_offload_transfer(struct no_os_spi_desc *desc, struct spi_engine_offload_message msg, uint32_t no_samples)
Initiate a SPI transfer in offload mode.
Definition: spi_engine.c:803
AD400x_SPI_ENG_REF_CLK_FREQ_HZ
#define AD400x_SPI_ENG_REF_CLK_FREQ_HZ
Definition: ad400x_fmcz.c:22
ad463x_init
int32_t ad463x_init(struct ad463x_dev **device, struct ad463x_init_param *init_param)
Initialize the device.
Definition: ad463x.c:364
xil_gpio_init_param
Structure holding the initialization parameters for Xilinx platform specific GPIO parameters.
Definition: gpio_extra.h:70
ad463x_init_param
Definition: ad463x.h:180
AD400x_SPI_CS
#define AD400x_SPI_CS
Definition: ad400x_fmcz.c:21
spi_engine_offload_init_param
Structure containing the init parameters needed by the offload module.
Definition: spi_engine.h:145
no_os_gpio.h
Header file of GPIO Interface.
parameters.h
Parameters Definitions.
SR_CLOCK_240_KHZ
@ SR_CLOCK_240_KHZ
Definition: ad5758.h:309
iio_app_run
int32_t iio_app_run(struct iio_app_device *devices, uint32_t len)
Register devices and start an iio application.
ldac_ip
const struct no_os_gpio_init_param ldac_ip
Definition: ad5758_sdz.c:82
AD469x_EVB_SAMPLE_NO
#define AD469x_EVB_SAMPLE_NO
Definition: ad469x_fmcz.c:67
scan_type
Definition: iio_types.h:155
reset_ip
const struct no_os_gpio_init_param reset_ip
Definition: ad5758_sdz.c:77
AD463X_TRIGGER_PULSE_WIDTH_NS
#define AD463X_TRIGGER_PULSE_WIDTH_NS
Definition: ad463x.h:147
axi_pwm_init_param::base_addr
uint32_t base_addr
Definition: axi_pwm_extra.h:57
ad469x_init_param::spi_init
no_os_spi_init_param * spi_init
Definition: ad469x.h:232
SPI_ENGINE_CMD_REG_CLK_DIV
#define SPI_ENGINE_CMD_REG_CLK_DIV
Definition: spi_engine_private.h:77
spi_engine_init_param::ref_clk_hz
uint32_t ref_clk_hz
Definition: spi_engine.h:91
ad400x_init_param::spi_init
no_os_spi_init_param spi_init
Definition: ad400x.h:77
NO_OS_SPI_MODE_0
@ NO_OS_SPI_MODE_0
Definition: no_os_spi.h:66
spi_engine_offload_message::rx_addr
uint32_t rx_addr
Definition: spi_engine.h:173
spi_engine_private.h
ad5766_core::core_baseaddr
uint32_t core_baseaddr
Definition: ad5766_core.h:46
parameters.h
Parameters Definitions.
ad469x_exit_conversion_mode
int32_t ad469x_exit_conversion_mode(struct ad469x_dev *dev)
Exit conversion mode. Enter register mode to read/write registers.
Definition: ad469x.c:638
dev_id
dev_id
Definition: ad9361.h:3334
ad469x_init_param
Structure containing the init parameters needed by the ad469x device.
Definition: ad469x.h:230
AD469x_standard_seq
@ AD469x_standard_seq
Definition: ad469x.h:170
xil_gpio_init_param::type
enum xil_gpio_type type
Definition: gpio_extra.h:72
READ
#define READ(no_bytes)
Definition: spi_engine.h:68
GPIO_PS
@ GPIO_PS
Definition: gpio_extra.h:62
AD463X_SPI_COMPATIBLE_MODE
#define AD463X_SPI_COMPATIBLE_MODE
Definition: ad463x.h:126
ad463x_exit_reg_cfg_mode
int32_t ad463x_exit_reg_cfg_mode(struct ad463x_dev *dev)
Exit register configuration mode.
Definition: ad463x.c:201
AD469x_SPI_ENG_REF_CLK_FREQ_HZ
#define AD469x_SPI_ENG_REF_CLK_FREQ_HZ
Definition: parameters.h:55
spi_engine_write
int32_t spi_engine_write(struct spi_engine_desc *desc, uint32_t reg_addr, uint32_t reg_data)
Write SPI Engine's axi registers.
Definition: spi_engine.c:92
SPI_ENGINE
@ SPI_ENGINE
Definition: spi_extra.h:70
GPIO_DAC_LDAC_N
#define GPIO_DAC_LDAC_N
Definition: parameters.h:53
GPIO_DAC_RESET_N
#define GPIO_DAC_RESET_N
Definition: parameters.h:52
axi_pwm_extra.h
no_os_spi_init_param
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:112
AD463x_DMA_BASEADDR
#define AD463x_DMA_BASEADDR
Definition: parameters.h:50
main
int main()
Definition: ad463x_fmc.c:67