STM32V100_lib_examples

所属分类:处理器开发
开发工具:Others
文件大小:711KB
下载次数:40
上传日期:2008-05-11 15:57:41
上 传 者gh_programmer
说明:  英倍特公司的STM32V100开发板配套库函数及例程源代码
(Britain)

文件列表:
STM32V100开发板 底层库函数及部分例程源代码\CortexM3\cortexm3_macro.s (9548, 2007-05-17)
STM32V100开发板 底层库函数及部分例程源代码\CortexM3\main.c (7418, 2007-06-08)
STM32V100开发板 底层库函数及部分例程源代码\CortexM3\stm32f10x_conf.h (5650, 2007-05-26)
STM32V100开发板 底层库函数及部分例程源代码\CortexM3\stm32f10x_it.c (22435, 2007-05-24)
STM32V100开发板 底层库函数及部分例程源代码\CortexM3\stm32f10x_it.h (3357, 2007-05-24)
STM32V100开发板 底层库函数及部分例程源代码\CortexM3\stm32f10x_vector.s (8676, 2007-06-11)
STM32V100开发板 底层库函数及部分例程源代码\GPIO\cortexm3_macro.s (9548, 2007-05-17)
STM32V100开发板 底层库函数及部分例程源代码\GPIO\main.c (8195, 2007-10-08)
STM32V100开发板 底层库函数及部分例程源代码\GPIO\stm32f10x_conf.h (5680, 2007-09-27)
STM32V100开发板 底层库函数及部分例程源代码\GPIO\stm32f10x_it.c (22475, 2007-05-18)
STM32V100开发板 底层库函数及部分例程源代码\GPIO\stm32f10x_it.h (3397, 2007-05-18)
STM32V100开发板 底层库函数及部分例程源代码\GPIO\stm32f10x_vector.s (8676, 2007-06-11)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\cortexm3_macro.h (2313, 2007-05-17)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\stm32f10x_adc.h (16421, 2007-05-16)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\stm32f10x_bkp.h (3526, 2007-05-16)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\stm32f10x_can.h (12319, 2007-05-16)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\stm32f10x_dma.h (12551, 2007-05-16)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\stm32f10x_exti.h (5868, 2007-05-16)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\stm32f10x_flash.h (10421, 2007-05-24)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\stm32f10x_gpio.h (12562, 2007-05-17)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\stm32f10x_i2c.h (15681, 2007-05-16)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\stm32f10x_iwdg.h (3534, 2007-05-16)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\stm32f10x_lib.h (3080, 2007-05-16)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\stm32f10x_map.h (20402, 2007-05-16)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\stm32f10x_nvic.h (16398, 2007-09-27)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\stm32f10x_pwr.h (3975, 2007-05-16)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\stm32f10x_rcc.h (13856, 2007-05-16)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\stm32f10x_rtc.h (3767, 2007-05-16)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\stm32f10x_spi.h (9436, 2007-05-16)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\stm32f10x_systick.h (3315, 2007-05-16)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\stm32f10x_tim.h (29150, 2007-05-16)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\stm32f10x_tim1.h (34803, 2007-05-16)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\stm32f10x_type.h (3189, 2007-05-16)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\stm32f10x_usart.h (11846, 2007-05-16)
STM32V100开发板 底层库函数及部分例程源代码\library\inc\stm32f10x_wwdg.h (2750, 2007-05-16)
STM32V100开发板 底层库函数及部分例程源代码\library\src\stm32f10x_adc.c (55005, 2007-05-16)
STM32V100开发板 底层库函数及部分例程源代码\library\src\stm32f10x_bkp.c (10714, 2007-05-16)
STM32V100开发板 底层库函数及部分例程源代码\library\src\stm32f10x_can.c (32450, 2007-09-20)
... ...

/******************** (C) COPYRIGHT 2007 STMicroelectronics ******************** * File Name : readme.txt * Author : MCD Application Team * Date First Issued : 02/05/2007 * Description : Description of the RCC Example. ******************************************************************************** * History: * 05/21/2007: V0.3 * 04/02/2007: V0.2 * 02/05/2007: V0.1 ******************************************************************************** * THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE * CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. *******************************************************************************/ Example description =================== This example shows how to configure the system clock source, AHB, APB2 and APB1 prescaler. The system clock frequency is set to 72MHz using the PLL. It shows how to use, for debug purpose, the RCC_GetClocksFreq function to retrieve the current status and frequencies of different on chip clocks. You can see the RCC_ClockFreq structure content, which hold the frequencies of different on chip clocks, using your toolchain debugger. This example handles also the High Speed External clock (HSE) failure detection: when the HSE clock disappears (broken or disconnected external Quartz); HSE, PLL are disabled (but no change on PLL config), HSI selected as system clock source and an interrupt (NMI) is generated. In the NMI ISR, the HSE, HSE ready interrupt are enabled and once HSE clock recover, the HSERDY interrupt is generated and in the RCC ISR routine the system clock is reconfigured to its previous state (before HSE clock failure). You can monitor the HSE clock on the MCO pin (PA.08). Four led connected to pins PC.06, PC.07, PC.08 and PC.09 are toggled with a frequency depending on the system clock. Directory contents ================== stm32f10x_conf.h Library Configuration file stm32f10x_it.c Interrupt handlers stm32f10x_it.h Header for stm32f10x_it.c main.c Main program Hardware environment ==================== - Connect four led to pins PC.06, PC.07, PC.08 and PC.09(respectively LD1, LD2, LD3 and LD4 on STM32F10x-EVAL board). - Connect the MCO pin (PA.08) to an oscilloscope (TP8 on STM32F10x-EVAL board) - On STM32F10x-EVAL board the 8MHz external Quartz is mounted on socket so it is easy to disconnect it. How to use it ============= In order to make the program work, you must do the following : - Create a project and setup all your toolchain's start-up files - Compile the directory content files and required Library files : + stm32f10x_lib.c + stm32f10x_gpio.c + stm32f10x_rcc.c + stm32f10x_nvic.c + stm32f10x_flash.c - Link all compiled files and load your image into either RAM or FLASH - Run the example ******************* (C) COPYRIGHT 2007 STMicroelectronics *****END OF FILE******

近期下载者

相关文件


收藏者