functionDefinition.h 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /*
  2. * Copyright 2008-2010 Analog Devices Inc.
  3. *
  4. * Licensed under the Clear BSD license or the GPL-2 (or later)
  5. */
  6. #ifndef _DEF_BF547_H
  7. #define _DEF_BF547_H
  8. /* Include defBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */
  9. #include "defBF54x_base.h"
  10. /* The following are the #defines needed by ADSP-BF547 that are not in the common header */
  11. /* Timer Registers */
  12. #define TIMER8_CONFIG 0xffc00600 /* Timer 8 Configuration Register */
  13. #define TIMER8_COUNTER 0xffc00604 /* Timer 8 Counter Register */
  14. #define TIMER8_PERIOD 0xffc00608 /* Timer 8 Period Register */
  15. #define TIMER8_WIDTH 0xffc0060c /* Timer 8 Width Register */
  16. #define TIMER9_CONFIG 0xffc00610 /* Timer 9 Configuration Register */
  17. #define TIMER9_COUNTER 0xffc00614 /* Timer 9 Counter Register */
  18. #define TIMER9_PERIOD 0xffc00618 /* Timer 9 Period Register */
  19. #define TIMER9_WIDTH 0xffc0061c /* Timer 9 Width Register */
  20. #define TIMER10_CONFIG 0xffc00620 /* Timer 10 Configuration Register */
  21. #define TIMER10_COUNTER 0xffc00624 /* Timer 10 Counter Register */
  22. #define TIMER10_PERIOD 0xffc00628 /* Timer 10 Period Register */
  23. #define TIMER10_WIDTH 0xffc0062c /* Timer 10 Width Register */
  24. /* Timer Group of 3 Registers */
  25. #define TIMER_ENABLE1 0xffc00640 /* Timer Group of 3 Enable Register */
  26. #define TIMER_DISABLE1 0xffc00644 /* Timer Group of 3 Disable Register */
  27. #define TIMER_STATUS1 0xffc00648 /* Timer Group of 3 Status Register */
  28. /* SPORT0 Registers */
  29. #define SPORT0_TCR1 0xffc00800 /* SPORT0 Transmit Configuration 1 Register */
  30. #define SPORT0_TCR2 0xffc00804 /* SPORT0 Transmit Configuration 2 Register */
  31. #define SPORT0_TCLKDIV 0xffc00808 /* SPORT0 Transmit Serial Clock Divider Register */
  32. #define SPORT0_TFSDIV 0xffc0080c /* SPORT0 Transmit Frame Sync Divider Register */
  33. #define SPORT0_TX 0xffc00810 /* SPORT0 Transmit Data Register */
  34. #define SPORT0_RX 0xffc00818 /* SPORT0 Receive Data Register */
  35. #define SPORT0_RCR1 0xffc00820 /* SPORT0 Receive Configuration 1 Register */
  36. #define SPORT0_RCR2 0xffc00824 /* SPORT0 Receive Configuration 2 Register */
  37. #define SPORT0_RCLKDIV 0xffc00828 /* SPORT0 Receive Serial Clock Divider Register */
  38. #define SPORT0_RFSDIV 0xffc0082c /* SPORT0 Receive Frame Sync Divider Register */
  39. #define SPORT0_STAT 0xffc00830 /* SPORT0 Status Register */
  40. #define SPORT0_CHNL 0xffc00834 /* SPORT0 Current Channel Register */
  41. #define SPORT0_MCMC1 0xffc00838 /* SPORT0 Multi channel Configuration Register 1 */
  42. #define SPORT0_MCMC2 0xffc0083c /* SPORT0 Multi channel Configuration Register 2 */
  43. #define SPORT0_MTCS0 0xffc00840 /* SPORT0 Multi channel Transmit Select Register 0 */
  44. #define SPORT0_MTCS1 0xffc00844 /* SPORT0 Multi channel Transmit Select Register 1 */
  45. #define SPORT0_MTCS2 0xffc00848 /* SPORT0 Multi channel Transmit Select Register 2 */
  46. #define SPORT0_MTCS3 0xffc0084c /* SPORT0 Multi channel Transmit Select Register 3 */
  47. #define SPORT0_MRCS0 0xffc00850 /* SPORT0 Multi channel Receive Select Register 0 */
  48. #define SPORT0_MRCS1 0xffc00854 /* SPORT0 Multi channel Receive Select Register 1 */
  49. #define SPORT0_MRCS2 0xffc00858 /* SPORT0 Multi channel Receive Select Register 2 */
  50. #define SPORT0_MRCS3 0xffc0085c /* SPORT0 Multi channel Receive Select Register 3 */
  51. /* EPPI0 Registers */
  52. #define EPPI0_STATUS 0xffc01000 /* EPPI0 Status Register */
  53. #define EPPI0_HCOUNT 0xffc01004 /* EPPI0 Horizontal Transfer Count Register */
  54. #define EPPI0_HDELAY 0xffc01008 /* EPPI0 Horizontal Delay Count Register */
  55. #define EPPI0_VCOUNT 0xffc0100c /* EPPI0 Vertical Transfer Count Register */
  56. #define EPPI0_VDELAY 0xffc01010 /* EPPI0 Vertical Delay Count Register */
  57. #define EPPI0_FRAME 0xffc01014 /* EPPI0 Lines per Frame Register */
  58. #define EPPI0_LINE 0xffc01018 /* EPPI0 Samples per Line Register */