bsp.h 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /*
  2. *********************************************************************************************************
  3. * EXAMPLE CODE
  4. *
  5. * This file is provided as an example on how to use Micrium products.
  6. *
  7. * Please feel free to use any application code labeled as 'EXAMPLE CODE' in
  8. * your application products. Example code may be used as is, in whole or in
  9. * part, or may be used as a reference only. This file can be modified as
  10. * required to meet the end-product requirements.
  11. *
  12. * Please help us continue to provide the Embedded community with the finest
  13. * software available. Your honesty is greatly appreciated.
  14. *
  15. * You can find our product's user manual, API reference, release notes and
  16. * more information at https://doc.micrium.com.
  17. * You can contact us at www.micrium.com.
  18. *********************************************************************************************************
  19. */
  20. /*
  21. *********************************************************************************************************
  22. *
  23. * MICRIUM BOARD SUPPORT PACKAGE
  24. *
  25. * ST Microelectronics STM32
  26. * on the
  27. *
  28. * STM3240G-EVAL
  29. * Evaluation Board
  30. *
  31. * Filename : bsp.h
  32. * Version : V1.00
  33. * Programmer(s) : FF
  34. *********************************************************************************************************
  35. */
  36. /*
  37. *********************************************************************************************************
  38. * MODULE
  39. *
  40. * Note(s) : (1) This header file is protected from multiple pre-processor inclusion through use of the
  41. * BSP present pre-processor macro definition.
  42. *
  43. * (2) This file and its dependencies requires IAR v6.20 or later to be compiled.
  44. *
  45. *********************************************************************************************************
  46. */
  47. #ifndef BSP_PRESENT
  48. #define BSP_PRESENT
  49. /*
  50. *********************************************************************************************************
  51. * EXTERNS
  52. *********************************************************************************************************
  53. */
  54. #ifdef BSP_MODULE
  55. #define BSP_EXT
  56. #else
  57. #define BSP_EXT extern
  58. #endif
  59. /*
  60. *********************************************************************************************************
  61. * INCLUDE FILES
  62. *********************************************************************************************************
  63. */
  64. #include <cpu.h>
  65. #include <cpu_core.h>
  66. #include <lib_def.h>
  67. #include "stm32f4xx.h"
  68. /*
  69. *********************************************************************************************************
  70. * FUNCTION PROTOTYPES
  71. *********************************************************************************************************
  72. */
  73. CPU_INT32U BSP_CPU_ClkFreq(void);
  74. /*
  75. *********************************************************************************************************
  76. * MODULE END
  77. *********************************************************************************************************
  78. */
  79. #endif /* End of module include. */