![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0+ */ 0002 /* 0003 * AD9832 SPI DDS driver 0004 * 0005 * Copyright 2011 Analog Devices Inc. 0006 */ 0007 #ifndef IIO_DDS_AD9832_H_ 0008 #define IIO_DDS_AD9832_H_ 0009 0010 /* 0011 * TODO: struct ad9832_platform_data needs to go into include/linux/iio 0012 */ 0013 0014 /** 0015 * struct ad9832_platform_data - platform specific information 0016 * @mclk: master clock in Hz 0017 * @freq0: power up freq0 tuning word in Hz 0018 * @freq1: power up freq1 tuning word in Hz 0019 * @phase0: power up phase0 value [0..4095] correlates with 0..2PI 0020 * @phase1: power up phase1 value [0..4095] correlates with 0..2PI 0021 * @phase2: power up phase2 value [0..4095] correlates with 0..2PI 0022 * @phase3: power up phase3 value [0..4095] correlates with 0..2PI 0023 */ 0024 0025 struct ad9832_platform_data { 0026 unsigned long freq0; 0027 unsigned long freq1; 0028 unsigned short phase0; 0029 unsigned short phase1; 0030 unsigned short phase2; 0031 unsigned short phase3; 0032 }; 0033 0034 #endif /* IIO_DDS_AD9832_H_ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |