no-OS
adf4156_cfg.h
Go to the documentation of this file.
1 /***************************************************************************/
42 #ifndef __AD4156_CFG_H__
43 #define __AD4156_CFG_H__
44 
45 /******************************************************************************/
46 /***************************** Include Files **********************************/
47 /******************************************************************************/
48 #include "adf4156.h"
49 
50 /******************************************************************************/
51 /************************ Constants Definitions *******************************/
52 /******************************************************************************/
53 static struct adf4156_platform_data adf4156_pdata_lpc = {
54  10000000, //clkin in Hz
55  20000, //channel_spacing in Hz
56  1, //ref_doubler_en
57  0, //ref_div2_en
58  ADF4156_INT_VAL(23), //r0_user_settings
59  ADF4156_MOD_WORD(2), //r2_user_settings
60  ADF4156_PD_POL(1), //r3_user_settings
61  0, //r4_user_settings
62 };
63 
64 #endif // __AD4156_CFG_H__
ADF4156_INT_VAL
#define ADF4156_INT_VAL(x)
Definition: adf4156.h:69
ADF4156_PD_POL
#define ADF4156_PD_POL(x)
Definition: adf4156.h:106
adf4156_platform_data
Definition: adf4156.h:189
adf4156.h
Header file of ADF4156 Driver for Microblaze processor.
ADF4156_MOD_WORD
#define ADF4156_MOD_WORD(x)
Definition: adf4156.h:96