cslr_bcp.h 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. /********************************************************************
  2. * Copyright (C) 2003-2015 Texas Instruments Incorporated.
  3. *
  4. * Redistribution and use in source and binary forms, with or without
  5. * modification, are permitted provided that the following conditions
  6. * are met:
  7. *
  8. * Redistributions of source code must retain the above copyright
  9. * notice, this list of conditions and the following disclaimer.
  10. *
  11. * Redistributions in binary form must reproduce the above copyright
  12. * notice, this list of conditions and the following disclaimer in the
  13. * documentation and/or other materials provided with the
  14. * distribution.
  15. *
  16. * Neither the name of Texas Instruments Incorporated nor the names of
  17. * its contributors may be used to endorse or promote products derived
  18. * from this software without specific prior written permission.
  19. *
  20. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  21. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  22. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  23. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  24. * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  25. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  26. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  27. * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  28. * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  29. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  30. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  31. *
  32. */
  33. /*********************************************************************
  34. * file: cslr_bcp.h
  35. *
  36. * Brief: This file contains the Register Description for bcp
  37. *
  38. *********************************************************************/
  39. #ifndef CSLR_BCP_H_
  40. #define CSLR_BCP_H_
  41. #include <ti/csl/cslr.h>
  42. #include <ti/csl/tistdtypes.h>
  43. /* Common */
  44. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_glbl_hdr.h>
  45. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_tm_hdr.h>
  46. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_tm_mmr.h>
  47. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_dio_hdr.h>
  48. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_dio_mmr.h>
  49. /* Downlink modules */
  50. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_crc_hdr.h>
  51. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_crc_mmr.h>
  52. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_rm_lte_hdr.h>
  53. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_rm_xcdma_hdr.h>
  54. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_rm_wimax_hdr.h>
  55. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_enc_hdr.h>
  56. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_enc_mmr.h>
  57. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_int_hdr.h>
  58. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_int_mmr.h>
  59. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_mod_hdr.h>
  60. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_mod_mmr.h>
  61. /* Uplink modules */
  62. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_rd_lte_hdr.h>
  63. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_rd_mmr.h>
  64. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_rd_xcdma_hdr.h>
  65. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_ssl_lte_wimax_hdr.h>
  66. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_ssl_wcdma_fdd_hdr.h>
  67. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_ssl_wcdma_tdd_hdr.h>
  68. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_dnt_hdr.h>
  69. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_dnt_mmr.h>
  70. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_cor_hdr.h>
  71. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_cor_mmr.h>
  72. #include <ti/csl/src/ip/bcp/V0/cslr_bcp_cdmahp_mmr.h>
  73. /**************************************************************************\
  74. * Register Overlay Structure for the common interrupt registers
  75. \**************************************************************************/
  76. typedef struct {
  77. volatile Uint32 INTR_IRS;
  78. volatile Uint32 INTR_IRS_SET;
  79. volatile Uint32 INTR_IRS_CLR;
  80. volatile Uint32 INTR_EN;
  81. volatile Uint32 INTR_EN_SET;
  82. volatile Uint32 INTR_EN_CLR;
  83. volatile Uint32 INTR_EN_STS;
  84. } CSL_Bcp_IntRegs;
  85. /**************************************************************************\
  86. * Register Overlay Structure for Data Logger
  87. \**************************************************************************/
  88. typedef struct {
  89. volatile Uint32 DLG_GLOBAL_HDR; /* Data logger control Register */
  90. volatile Uint32 DLG_TM_SW_TIMESTAMP; /* Data logger control Register */
  91. volatile Uint32 DLG_HW_TIMESTAMP_ENG_ERR; /* Data logger control Register */
  92. volatile Uint8 RSVD0[4];
  93. } CSL_Bcp_DataLoggerRAMEntry; /* Data Logger */
  94. /**************************************************************************\
  95. * Register Overlay Structure for the common Data Logger registers
  96. \**************************************************************************/
  97. typedef struct {
  98. volatile Uint32 DLG_CONTROL;
  99. volatile Uint32 DLG_STATUS;
  100. volatile Uint32 DLG_GLOBAL_HDR;
  101. } CSL_Bcp_DataLoggerRegs;
  102. /**************************************************************************\
  103. * Register Overlay Structure for the common Data Logger RAM
  104. \**************************************************************************/
  105. typedef struct {
  106. CSL_Bcp_DataLoggerRAMEntry DLG_DATA_LOG[256];
  107. } CSL_Bcp_DataLoggerRAM;
  108. #endif