F2837xD_Upp_defines.h 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. //###########################################################################
  2. //
  3. // FILE: F2837xD_Upp_defines.h
  4. //
  5. // TITLE: #defines used in Upp examples
  6. //
  7. //###########################################################################
  8. // $TI Release: F2837xD Support Library v3.05.00.00 $
  9. // $Release Date: Tue Jun 26 03:15:23 CDT 2018 $
  10. // $Copyright:
  11. // Copyright (C) 2013-2018 Texas Instruments Incorporated - http://www.ti.com/
  12. //
  13. // Redistribution and use in source and binary forms, with or without
  14. // modification, are permitted provided that the following conditions
  15. // are met:
  16. //
  17. // Redistributions of source code must retain the above copyright
  18. // notice, this list of conditions and the following disclaimer.
  19. //
  20. // Redistributions in binary form must reproduce the above copyright
  21. // notice, this list of conditions and the following disclaimer in the
  22. // documentation and/or other materials provided with the
  23. // distribution.
  24. //
  25. // Neither the name of Texas Instruments Incorporated nor the names of
  26. // its contributors may be used to endorse or promote products derived
  27. // from this software without specific prior written permission.
  28. //
  29. // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  30. // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  31. // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  32. // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  33. // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  34. // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  35. // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  36. // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  37. // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  38. // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  39. // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  40. // $
  41. //###########################################################################
  42. #ifndef F2837xD_UPP_DEFINES_H
  43. #define F2837xD_UPP_DEFINES_H
  44. #ifdef __cplusplus
  45. extern "C" {
  46. #endif
  47. //
  48. // Defines
  49. //
  50. #define uPP_TX_MSGRAM_ADDR 0x6C00
  51. #define uPP_TX_MSGRAM_SIZE 512
  52. #define uPP_RX_MSGRAM_ADDR 0x6E00
  53. #define uPP_RX_MSGRAM_SIZE 512
  54. #define uPP_RX_MODE 0
  55. #define uPP_TX_MODE 1
  56. #define uPP_SDR 0
  57. #define uPP_DDR 1
  58. #define uPP_TX_SIZE_64B 0
  59. #define uPP_TX_SIZE_128B 1
  60. #define uPP_TX_SIZE_256B 3
  61. #define uPP_RX_SIZE_64B 0
  62. #define uPP_RX_SIZE_128B 1
  63. #define uPP_RX_SIZE_256B 3
  64. #define uPP_INT_EOWI 0x8
  65. #define uPP_INT_EOLI 0x10
  66. #define uPP_INT_EOWQ 0x800
  67. #define uPP_INT_EOLQ 0x1000
  68. #ifdef __cplusplus
  69. }
  70. #endif /* extern "C" */
  71. #endif // - end of F2837xD_UPP_DEFINES_H
  72. //
  73. // End of file
  74. //