STM32F407_Sine_PWM

所属分类:单片机开发
开发工具:C/C++
文件大小:2365KB
下载次数:19
上传日期:2015-03-15 19:11:12
上 传 者shafqat_uet
说明:  Sinusoidal PWM using STM32F407

文件列表:
Sine_PWM\main.c (13610, 2014-12-12)
Sine_PWM\MDK-ARM\IO_Toggle\ExtDll.iex (19, 2014-12-05)
Sine_PWM\MDK-ARM\IO_Toggle\IO_Toggle.axf (341672, 2014-12-12)
Sine_PWM\MDK-ARM\IO_Toggle\IO_Toggle.htm (49805, 2014-12-12)
Sine_PWM\MDK-ARM\IO_Toggle\IO_Toggle.lnp (686, 2014-12-12)
Sine_PWM\MDK-ARM\IO_Toggle\IO_Toggle.map (71075, 2014-12-12)
Sine_PWM\MDK-ARM\IO_Toggle\IO_Toggle.plg (251, 2014-12-19)
Sine_PWM\MDK-ARM\IO_Toggle\IO_Toggle.sct (479, 2014-04-06)
Sine_PWM\MDK-ARM\IO_Toggle\main.crf (399375, 2014-12-12)
Sine_PWM\MDK-ARM\IO_Toggle\main.d (3103, 2014-12-12)
Sine_PWM\MDK-ARM\IO_Toggle\main.o (454816, 2014-12-12)
Sine_PWM\MDK-ARM\IO_Toggle\misc.crf (394507, 2014-11-29)
Sine_PWM\MDK-ARM\IO_Toggle\misc.d (3153, 2014-11-29)
Sine_PWM\MDK-ARM\IO_Toggle\misc.o (438908, 2014-11-29)
Sine_PWM\MDK-ARM\IO_Toggle\startup_stm32f4xx.d (116, 2014-11-29)
Sine_PWM\MDK-ARM\IO_Toggle\startup_stm32f4xx.lst (92237, 2014-11-29)
Sine_PWM\MDK-ARM\IO_Toggle\startup_stm32f4xx.o (8024, 2014-11-29)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_adc.crf (401247, 2014-11-29)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_adc.d (3504, 2014-11-29)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_adc.o (490792, 2014-11-29)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_dac.crf (397186, 2014-11-30)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_dac.d (3504, 2014-11-30)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_dac.o (457720, 2014-11-30)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_dma.crf (401132, 2014-11-29)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_dma.d (3504, 2014-11-29)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_dma.o (462360, 2014-11-29)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_exti.crf (395089, 2014-11-29)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_exti.d (3543, 2014-11-29)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_exti.o (443600, 2014-11-29)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_gpio.crf (396425, 2014-11-29)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_gpio.d (3543, 2014-11-29)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_gpio.o (453092, 2014-11-29)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_it.crf (394270, 2014-11-30)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_it.d (3365, 2014-11-30)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_it.o (446680, 2014-11-30)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_rcc.crf (403253, 2014-11-29)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_rcc.d (3504, 2014-11-29)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_rcc.o (500072, 2014-11-29)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_syscfg.crf (394582, 2014-11-29)
Sine_PWM\MDK-ARM\IO_Toggle\stm32f4xx_syscfg.d (3621, 2014-11-29)
... ...

/** @page GPIO_IOToggle GPIO IO Toggle example @verbatim ******************** (C) COPYRIGHT 2011 STMicroelectronics ******************* * @file IO_Toggle/readme.txt * @author MCD Application Team * @version V1.0.0 * @date 19-September-2011 * @brief Description of the GPIO IO Toggle example. ****************************************************************************** * THE PRESENT FIRMWARE 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 FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. ****************************************************************************** @endverbatim @par Example Description This example describes how to toggle the GPIO pins connected on AHB bus. PD12, PD13, PD14 and PD15 (configured in output pushpull mode) toggles in a forever loop. - Set PD12, PD13, PD14 and PD15 by setting corresponding bits in BSRRL register - Reset PD12, PD13, PD14 and PD15 by setting corresponding bits in BSRRH register In this example, HCLK is configured at 168 MHz. @par Directory contents - IO_Toggle/stm32f4xx_conf.h Library Configuration file - IO_Toggle/stm32f4xx_it.c Interrupt handlers - IO_Toggle/stm32f4xx_it.h Interrupt handlers header file - IO_Toggle/main.c Main program - IO_Toggle/system_stm32f4xx.c STM32F4xx system source file @par Hardware and Software environment - This example runs on STM32F4xx Devices Revision A. - This example has been tested with STM32F4-Discovery (MB997) RevA and can be easily tailored to any other development board - STM32F4-Discovery - LED4, LED3, LED5 and LED6 are connected respectively to PD.12, PD.13, PD.14 and PD.15. @par How to use it ? In order to make the program work, you must do the following : + EWARM - Open the IO_Toggle.eww workspace - Rebuild all files: Project->Rebuild all - Load project image: Project->Debug - Run program: Debug->Go(F5) + MDK-ARM - Open the IO_Toggle.uvproj project - Rebuild all files: Project->Rebuild all target files - Load project image: Debug->Start/Stop Debug Session - Run program: Debug->Run (F5) + TASKING - Open TASKING toolchain. - Click on File->Import, select General->'Existing Projects into Workspace' and then click "Next". - Browse to TASKING workspace directory and select the project "IO_Toggle" - Rebuild all project files: Select the project in the "Project explorer" window then click on Project->build project menu. - Run program: Select the project in the "Project explorer" window then click Run->Debug (F11) + TrueSTUDIO - Open the TrueSTUDIO toolchain. - Click on File->Switch Workspace->Other and browse to TrueSTUDIO workspace directory. - Click on File->Import, select General->'Existing Projects into Workspace' and then click "Next". - Browse to the TrueSTUDIO workspace directory and select the project "IO_Toggle" - Rebuild all project files: Select the project in the "Project explorer" window then click on Project->build project menu. - Run program: Select the project in the "Project explorer" window then click Run->Debug (F11) *

© COPYRIGHT 2011 STMicroelectronics

*/

近期下载者

相关文件


收藏者