pll_4113.h 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. /**************************************************************************************************
  2. Filename: hal_adf4113.h
  3. Revised: $Date: 2013-11-17 $
  4. Revision: $Revision: $
  5. Description: This file contains the interface to the ADF4113 frequency synthesizer.
  6. **************************************************************************************************/
  7. #ifndef HAL_ADF4113_H
  8. #define HAL_ADF4113_H
  9. #include "main.h"
  10. typedef struct _PLL_Setting_st{
  11. GPIO_TypeDef * PLL_CLK_PORT;
  12. uint16_t PLL_CLK_PIN;
  13. GPIO_TypeDef * PLL_DATA_PORT;
  14. uint16_t PLL_DATA_PIN;
  15. GPIO_TypeDef * PLL_ENABLE_PORT;
  16. uint16_t PLL_ENABLE_PIN;
  17. } PLL_Setting_st;
  18. PLL_Setting_st ADF4113_1_8G_DL;
  19. PLL_Setting_st ADF4113_1_8G_UL;
  20. PLL_Setting_st ADF4113_2_1G_DL;
  21. PLL_Setting_st ADF4113_2_1G_UL;
  22. uint8_t halSynSetFreq(uint32_t rf_Freq);
  23. void ADF4113_Module_Ctrl(PLL_Setting_st pll,uint32_t R0,uint32_t R1,uint32_t R2);
  24. //void ADF4113_Module_Ctrl(PLL_Setting_st pll,uint32_t R0,uint32_t R1,uint32_t R2);
  25. #endif