readme.txt 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /**
  2. @page SysTick_TimeBase SysTick Time Base example
  3. @verbatim
  4. ******************** (C) COPYRIGHT 2011 STMicroelectronics *******************
  5. * @file SysTick/TimeBase/readme.txt
  6. * @author MCD Application Team
  7. * @version V3.5.0
  8. * @date 08-April-2011
  9. * @brief Description of the SysTick Time Base example.
  10. ******************************************************************************
  11. * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
  12. * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
  13. * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
  14. * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
  15. * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
  16. * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
  17. ******************************************************************************
  18. @endverbatim
  19. @par Example Description
  20. This example shows how to configure the SysTick to generate a time base equal to
  21. 1 ms. The system clock is set to 24 MHz on Value line devices and to 72 MHz on
  22. other devices, the SysTick is clocked by the AHB clock (HCLK).
  23. A "Delay" function is implemented based on the SysTick end-of-count event.
  24. Four LEDs are toggled with a timing defined by the Delay function.
  25. @par Directory contents
  26. - SysTick/TimeBase/stm32f10x_conf.h Library Configuration file
  27. - SysTick/TimeBase/stm32f10x_it.c Interrupt handlers
  28. - SysTick/TimeBase/stm32f10x_it.h Header for stm32f10x_it.c
  29. - SysTick/TimeBase/main.c Main program
  30. - SysTick/TimeBase/main.h Header for main.c
  31. - SysTick/TimeBase/system_stm32f10x.c STM32F10x system source file
  32. @par Hardware and Software environment
  33. - This example runs on STM32F10x Connectivity line, High-Density, High-Density
  34. Value line, Medium-Density, XL-Density, Medium-Density Value line,
  35. Low-Density and Low-Density Value line Devices.
  36. - This example has been tested with STMicroelectronics STM32100E-EVAL (High-Density
  37. Value line), STM32100B-EVAL (Medium-Density Value line), STM3210C-EVAL
  38. (Connectivity line), STM3210E-EVAL (High-Density and XL-Density)
  39. and STM3210B-EVAL (Medium-Density) evaluation boards and can be easily
  40. tailored to any other supported device and development board.
  41. To select the STMicroelectronics evaluation board used to run the example,
  42. uncomment the corresponding line in stm32_eval.h file (under Utilities\STM32_EVAL)
  43. - STM32100E-EVAL Set-up
  44. - Use LED1, LED2, LED3 and LED4 connected respectively to PF.06, PF0.7, PF.08
  45. and PF.09 pins
  46. - STM32100B-EVAL Set-up
  47. - Use LED1, LED2, LED3 and LED4 connected respectively to PC.06, PC.07, PC.08
  48. and PC.09 pins
  49. - STM3210C-EVAL Set-up
  50. - Use LED1, LED2, LED3 and LED4 connected respectively to PD.07, PD.13, PF.03
  51. and PD.04 pins
  52. - STM3210E-EVAL Set-up
  53. - Use LED1, LED2, LED3 and LED4 connected respectively to PF.06, PF0.7, PF.08
  54. and PF.09 pins
  55. - STM3210B-EVAL Set-up
  56. - Use LED1, LED2, LED3 and LED4 connected respectively to PC.06, PC.07, PC.08
  57. and PC.09 pins
  58. @par How to use it ?
  59. In order to make the program work, you must do the following :
  60. - Copy all source files from this example folder to the template folder under
  61. Project\STM32F10x_StdPeriph_Template
  62. - Open your preferred toolchain
  63. - Rebuild all files and load your image into target memory
  64. - Run the example
  65. @note
  66. - Low-density Value line devices are STM32F100xx microcontrollers where the
  67. Flash memory density ranges between 16 and 32 Kbytes.
  68. - Low-density devices are STM32F101xx, STM32F102xx and STM32F103xx
  69. microcontrollers where the Flash memory density ranges between 16 and 32 Kbytes.
  70. - Medium-density Value line devices are STM32F100xx microcontrollers where
  71. the Flash memory density ranges between 64 and 128 Kbytes.
  72. - Medium-density devices are STM32F101xx, STM32F102xx and STM32F103xx
  73. microcontrollers where the Flash memory density ranges between 64 and 128 Kbytes.
  74. - High-density Value line devices are STM32F100xx microcontrollers where
  75. the Flash memory density ranges between 256 and 512 Kbytes.
  76. - High-density devices are STM32F101xx and STM32F103xx microcontrollers where
  77. the Flash memory density ranges between 256 and 512 Kbytes.
  78. - XL-density devices are STM32F101xx and STM32F103xx microcontrollers where
  79. the Flash memory density ranges between 512 and 1024 Kbytes.
  80. - Connectivity line devices are STM32F105xx and STM32F107xx microcontrollers.
  81. * <h3><center>&copy; COPYRIGHT 2011 STMicroelectronics</center></h3>
  82. */