mst_flt_aon_rf.h 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. /* Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
  2. * All rights reserved.
  3. *
  4. * This software is supplied "AS IS" without any warranties.
  5. * RDA assumes no responsibility or liability for the use of the software,
  6. * conveys no license or title under any patent, copyright, or mask work
  7. * right to the product. RDA reserves the right to make changes in the
  8. * software without notification. RDA also make no representation or
  9. * warranty that such application will be suitable for the specified use
  10. * without further testing or modification.
  11. */
  12. #ifndef _MST_FLT_AON_RF_H_
  13. #define _MST_FLT_AON_RF_H_
  14. // Auto generated by dtools(see dtools.txt for its version).
  15. // Don't edit it manually!
  16. #define REG_MST_FLT_AON_RF_BASE (0x51304000)
  17. typedef volatile struct
  18. {
  19. uint32_t mst_filter_id0; // 0x00000000
  20. uint32_t mst_filter_id1; // 0x00000004
  21. uint32_t mst_filter_id2; // 0x00000008
  22. uint32_t mst_filter_id3; // 0x0000000c
  23. uint32_t mst_filter_id4; // 0x00000010
  24. uint32_t mst_filter_id5; // 0x00000014
  25. uint32_t mst_filter_id6; // 0x00000018
  26. uint32_t mst_filter_id7; // 0x0000001c
  27. uint32_t mst_filter_int_en; // 0x00000020
  28. uint32_t mst_filter_int_raw0; // 0x00000024
  29. uint32_t mst_filter_int_status0; // 0x00000028
  30. uint32_t mst_filter_int_clr; // 0x0000002c
  31. uint32_t mst_filter_debug_reg0; // 0x00000030
  32. uint32_t mst_filter_debug_reg2; // 0x00000034
  33. uint32_t mst_filter_resp; // 0x00000038
  34. } HWP_MST_FLT_AON_RF_T;
  35. #define hwp_mstFltAonRf ((HWP_MST_FLT_AON_RF_T *)REG_ACCESS_ADDRESS(REG_MST_FLT_AON_RF_BASE))
  36. // mst_filter_int_en
  37. typedef union {
  38. uint32_t v;
  39. struct
  40. {
  41. uint32_t mst_filter_int_en : 1; // [0]
  42. uint32_t __31_1 : 31; // [31:1]
  43. } b;
  44. } REG_MST_FLT_AON_RF_MST_FILTER_INT_EN_T;
  45. // mst_filter_int_raw0
  46. typedef union {
  47. uint32_t v;
  48. struct
  49. {
  50. uint32_t mst_filter_int_raw0 : 1; // [0], read only
  51. uint32_t __31_1 : 31; // [31:1]
  52. } b;
  53. } REG_MST_FLT_AON_RF_MST_FILTER_INT_RAW0_T;
  54. // mst_filter_int_status0
  55. typedef union {
  56. uint32_t v;
  57. struct
  58. {
  59. uint32_t mst_filter_int_status0 : 1; // [0], read only
  60. uint32_t __31_1 : 31; // [31:1]
  61. } b;
  62. } REG_MST_FLT_AON_RF_MST_FILTER_INT_STATUS0_T;
  63. // mst_filter_int_clr
  64. typedef union {
  65. uint32_t v;
  66. struct
  67. {
  68. uint32_t mst_filter_int_clr : 1; // [0], write clear
  69. uint32_t __31_1 : 31; // [31:1]
  70. } b;
  71. } REG_MST_FLT_AON_RF_MST_FILTER_INT_CLR_T;
  72. // mst_filter_debug_reg2
  73. typedef union {
  74. uint32_t v;
  75. struct
  76. {
  77. uint32_t mst_filter_debug_hauser : 8; // [7:0], read only
  78. uint32_t mst_filter_debug_hwrite : 1; // [8], read only
  79. uint32_t __31_9 : 23; // [31:9]
  80. } b;
  81. } REG_MST_FLT_AON_RF_MST_FILTER_DEBUG_REG2_T;
  82. // mst_filter_resp
  83. typedef union {
  84. uint32_t v;
  85. struct
  86. {
  87. uint32_t mst_filter_resp_en : 1; // [0]
  88. uint32_t __31_1 : 31; // [31:1]
  89. } b;
  90. } REG_MST_FLT_AON_RF_MST_FILTER_RESP_T;
  91. // mst_filter_int_en
  92. #define MST_FLT_AON_RF_MST_FILTER_INT_EN (1 << 0)
  93. // mst_filter_int_raw0
  94. #define MST_FLT_AON_RF_MST_FILTER_INT_RAW0 (1 << 0)
  95. // mst_filter_int_status0
  96. #define MST_FLT_AON_RF_MST_FILTER_INT_STATUS0 (1 << 0)
  97. // mst_filter_int_clr
  98. #define MST_FLT_AON_RF_MST_FILTER_INT_CLR (1 << 0)
  99. // mst_filter_debug_reg2
  100. #define MST_FLT_AON_RF_MST_FILTER_DEBUG_HAUSER(n) (((n)&0xff) << 0)
  101. #define MST_FLT_AON_RF_MST_FILTER_DEBUG_HWRITE (1 << 8)
  102. // mst_filter_resp
  103. #define MST_FLT_AON_RF_MST_FILTER_RESP_EN (1 << 0)
  104. #endif // _MST_FLT_AON_RF_H_