str91xstdlib

所属分类:uCOS/RTOS
开发工具:C/C++
文件大小:514KB
下载次数:2
上传日期:2008-06-24 20:14:52
上 传 者12SDFASD
说明:  现在ST91的ARM使用比较广泛。这里是该芯片的一些驱动。可能会用的上
(ST91 is now a much wider use of the ARM. Here are some of the chip driver. May be used on)

文件列表:
str91xstdlib\Stdlib\examples\ADC\EXAMPLE1\91x_conf.h (3689, 2007-05-25)
str91xstdlib\Stdlib\examples\ADC\EXAMPLE1\91x_it.c (15635, 2007-05-25)
str91xstdlib\Stdlib\examples\ADC\EXAMPLE1\main.c (5398, 2007-05-25)
str91xstdlib\Stdlib\examples\ADC\EXAMPLE2\91x_conf.h (3683, 2007-05-25)
str91xstdlib\Stdlib\examples\ADC\EXAMPLE2\91x_it.c (15858, 2007-05-25)
str91xstdlib\Stdlib\examples\ADC\EXAMPLE2\main.c (5303, 2007-05-25)
str91xstdlib\Stdlib\examples\CAN\91x_conf.h (3522, 2007-05-25)
str91xstdlib\Stdlib\examples\CAN\91x_it.c (16646, 2007-05-25)
str91xstdlib\Stdlib\examples\CAN\main.c (9210, 2007-05-30)
str91xstdlib\Stdlib\examples\DMA\91x_conf.h (3705, 2007-05-25)
str91xstdlib\Stdlib\examples\DMA\91x_it.c (15635, 2007-05-25)
str91xstdlib\Stdlib\examples\DMA\main.c (5644, 2007-05-25)
str91xstdlib\Stdlib\examples\FMI\91x_conf.h (3721, 2007-05-25)
str91xstdlib\Stdlib\examples\FMI\91x_it.c (15635, 2007-05-25)
str91xstdlib\Stdlib\examples\FMI\main.c (4433, 2007-05-25)
str91xstdlib\Stdlib\examples\GPIO\91x_conf.h (3703, 2007-05-25)
str91xstdlib\Stdlib\examples\GPIO\91x_it.c (15634, 2007-05-25)
str91xstdlib\Stdlib\examples\GPIO\main.c (4297, 2007-05-25)
str91xstdlib\Stdlib\examples\I2C\91x_conf.h (3691, 2007-05-25)
str91xstdlib\Stdlib\examples\I2C\91x_it.c (18072, 2007-05-25)
str91xstdlib\Stdlib\examples\I2C\main.c (8748, 2007-05-25)
str91xstdlib\Stdlib\examples\MC\91x_conf.h (3701, 2007-05-25)
str91xstdlib\Stdlib\examples\MC\91x_it.c (15634, 2007-05-25)
str91xstdlib\Stdlib\examples\MC\main.c (4860, 2007-05-25)
str91xstdlib\Stdlib\examples\RTC\91x_conf.h (3699, 2007-05-25)
str91xstdlib\Stdlib\examples\RTC\91x_it.c (15635, 2007-05-25)
str91xstdlib\Stdlib\examples\RTC\main.c (4051, 2007-05-25)
str91xstdlib\Stdlib\examples\SSP\91x_conf.h (3689, 2007-05-25)
str91xstdlib\Stdlib\examples\SSP\91x_it.c (15635, 2007-05-25)
str91xstdlib\Stdlib\examples\SSP\main.c (8964, 2007-05-25)
... ...

/******************** (C) COPYRIGHT 2006 STMicroelectronics ******************** * File Name : Readme.txt * Author : MCD Application Team * Date First Issued : 05/18/2006 : Version 1.0 * Description : Description of the MC Example. ******************************************************************************** * History: * 05/22/2007 : Version 1.2 * 05/24/2006 : Version 1.1 * 05/18/2006 : Version 1.0 ******************************************************************************** * 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 show how to configure the MC peripheral to generate Three complementary PWM signals, to insert a defined dead time value and to use the Tacho interface in hardware Mode. The PCLK frequency is set to 25 MHz, the MC is running at 11.73 KHz, the PulseU, PulseV and PulseW duty cycles are fixed respectively to 50%, 25% and 12.5%. The dead time is equal to 148 microsecond. The PWM waveform can be display in a scope. Directory contents ================== 91x_conf.h Library Configuration file main.c Main program 91x_it.c Interrupt handlers Readme.tx This file. Hardware environment ==================== Connect a scope to: - Pin29 (P6.00/MC_UH). - Pin31 (P6.01/MC_UL). - Pin19 (P6.02/MC_VH). - Pin20 (P6.03/MC_VL). - Pin83 (P6.04/MC_WH). - Pin84 (P6.05/MC_WL). 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 : + 91x_lib.c + 91x_mc.c + 91x_gpio.c + 91x_scu.c - Link all compiled files and load your image into either RAM or Flash - Run the example ******************* (C) COPYRIGHT 2006 STMicroelectronics *****END OF FILE****

近期下载者

相关文件


收藏者