common.h 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /*
  2. *********************************************************************************************************
  3. * uC/Common
  4. * Common Features for Micrium Stacks
  5. *
  6. * Copyright 2013-2020 Silicon Laboratories Inc. www.silabs.com
  7. *
  8. * SPDX-License-Identifier: APACHE-2.0
  9. *
  10. * This software is subject to an open source license and is distributed by
  11. * Silicon Laboratories Inc. pursuant to the terms of the Apache License,
  12. * Version 2.0 available at www.apache.org/licenses/LICENSE-2.0.
  13. *
  14. *********************************************************************************************************
  15. */
  16. /*
  17. *********************************************************************************************************
  18. *
  19. * uC/Common - Common Definitions
  20. *
  21. * Filename : common.h
  22. * Version : V1.02.00
  23. *********************************************************************************************************
  24. */
  25. /*
  26. *********************************************************************************************************
  27. *********************************************************************************************************
  28. * MODULE
  29. *
  30. * Note(s) : (1) This library header file is protected from multiple pre-processor inclusion through
  31. * use of the library module present pre-processor macro definition.
  32. *********************************************************************************************************
  33. *********************************************************************************************************
  34. */
  35. #ifndef COMMON_MODULE_PRESENT /* See Note #1. */
  36. #define COMMON_MODULE_PRESENT
  37. /*
  38. *********************************************************************************************************
  39. *********************************************************************************************************
  40. * DEFINES
  41. *********************************************************************************************************
  42. *********************************************************************************************************
  43. */
  44. /*
  45. *********************************************************************************************************
  46. * COMMON MODULE VERSION NUMBER
  47. *
  48. * Note(s) : (1) (a) The common module software version is denoted as follows :
  49. *
  50. * Vx.yy.zz
  51. *
  52. * where
  53. * V denotes 'Version' label
  54. * x denotes major software version revision number
  55. * yy denotes minor software version revision number
  56. * zz denotes sub-minor software version revision number
  57. *
  58. * (b) The software version label #define is formatted as follows :
  59. *
  60. * ver = x.yyzz * 100 * 100
  61. *
  62. * where
  63. * ver denotes software version number scaled as an integer value
  64. * x.yyzz denotes software version number, where the unscaled integer
  65. * portion denotes the major version number & the unscaled
  66. * fractional portion denotes the (concatenated) minor
  67. * version numbers
  68. *********************************************************************************************************
  69. */
  70. #define COMMON_VERSION 10200u /* See Note #1. */
  71. #endif /* COMMON_MODULE_PRESENT */