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