Advertisement
Guest User

Untitled

a guest
Sep 27th, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. //
  2. // HM2DPLL
  3. //
  4.  
  5. typedef struct {
  6. hal_float_t *time1_ms;
  7. hal_float_t *time2_ms;
  8. hal_float_t *time3_ms;
  9. hal_float_t *time4_ms;
  10. hal_float_t *base_freq;
  11. hal_u32_t *phase_error;
  12. hal_u32_t *plimit;
  13. hal_u32_t *filter;
  14. hal_u32_t *ddssize;
  15. hal_u32_t *time_const;
  16. hal_u32_t *prescale;
  17. } hm2_hm2dpll_pins_t ;
  18.  
  19. typedef struct {
  20.  
  21. int num_instances ;
  22. hm2_hm2dpll_pins_t *pins ;
  23.  
  24. u32 base_rate_addr;
  25. u32 base_rate_written;
  26. u32 phase_error_addr;
  27. u32 *phase_error_reg_read;
  28. u32 control_reg0_addr;
  29. u32 control_reg0_written;
  30. u32 control_reg1_addr;
  31. u32 control_reg1_written;
  32. u32 *control_reg1_read;
  33. u32 timer_12_addr;
  34. u32 timer_12_written;
  35. u32 timer_34_addr;
  36. u32 timer_34_written;
  37. u32 hm2_hm2dpll_sync_addr;
  38. u32 *hm2_hm2dpll_sync_reg;
  39.  
  40. } hm2_hm2dpll_t ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement