Pwm

所属分类:单片机开发
开发工具:C/C++
文件大小:275KB
下载次数:21
上传日期:2016-11-27 13:13:50
上 传 者晨剑
说明:  飞思卡尔MC9S12ZVL单片机PWM(脉冲宽度调制)实例
(Freescale MCU PWM example)

文件列表:
Pwm (0, 2016-11-27)
Pwm\.cproject (10335, 2013-06-26)
Pwm\.cwGeneratedFileSetLog (198, 2013-06-26)
Pwm\.ProcessorExpert.g_c (25532, 2013-06-26)
Pwm\.ProcessorExpert.g_x (3141, 2013-06-26)
Pwm\.project (2381, 2013-06-26)
Pwm\.settings (0, 2016-11-27)
Pwm\.settings\com.freescale.core.ide.cdt.toolchain.prefs (993, 2013-06-26)
Pwm\.settings\com.freescale.core.ide.newprojectwizard.prefs (122, 2013-06-26)
Pwm\.settings\com.freescale.processorexpert.core.prefs (358, 2013-06-26)
Pwm\Documentation (0, 2016-11-27)
Pwm\Documentation\ProcessorExpert.txt (3230, 2013-06-26)
Pwm\Documentation\ProcessorExpert_Settings.previous.xml (17280, 2013-06-26)
Pwm\Documentation\ProcessorExpert_Settings.xml (17276, 2013-06-26)
Pwm\Documentation\ProcessorExpert_SIGNALS.txt (1160, 2013-06-26)
Pwm\Generated_Code (0, 2016-11-27)
Pwm\Generated_Code\AD1.c (19980, 2013-06-26)
Pwm\Generated_Code\AD1.h (15066, 2013-06-26)
Pwm\Generated_Code\Cpu.c (10951, 2013-06-26)
Pwm\Generated_Code\Cpu.h (6782, 2013-06-26)
Pwm\Generated_Code\IO_Map.c (52440, 2013-06-26)
Pwm\Generated_Code\IO_Map.h (925185, 2013-06-26)
Pwm\Generated_Code\PE_Const.h (2246, 2013-06-26)
Pwm\Generated_Code\PE_Error.h (3441, 2013-06-26)
Pwm\Generated_Code\PE_Timer.c (4846, 2013-06-26)
Pwm\Generated_Code\PE_Timer.h (3219, 2013-06-26)
Pwm\Generated_Code\PE_Types.h (14631, 2013-06-26)
Pwm\Generated_Code\PWM8.c (12272, 2013-06-26)
Pwm\Generated_Code\PWM8.h (8832, 2013-06-26)
Pwm\Generated_Code\Vectors.c (15338, 2013-06-26)
Pwm\ProcessorExpert.pe (205962, 2013-06-26)
Pwm\Project_Headers (0, 2016-11-27)
Pwm\Project_Headers\Description.txt (27, 2013-08-06)
Pwm\Project_Settings (0, 2016-11-27)
Pwm\Project_Settings\Components_DEBUG (0, 2016-11-27)
Pwm\Project_Settings\Components_DEBUG\AD1_DEBUG.txt (102098, 2013-06-26)
Pwm\Project_Settings\Components_DEBUG\Cpu_DEBUG.txt (286634, 2013-06-26)
Pwm\Project_Settings\Components_DEBUG\Event_DEBUG.txt (36098, 2013-06-26)
Pwm\Project_Settings\Components_DEBUG\IO_Map_DEBUG.txt (52708, 2013-06-26)
... ...

****************************************************************************** ******************* Processor Expert Demonstration Project ******************* ****************************************************************************** Project: PWM Short description : PWM demonstration Target platforms: HCS12Z Function Description ==================== This project is simple PWM use case. The example shows how to create an application using Processor Expert and C language. The goal of application is to drive LED (PP0) illumination intensity according to potentiometer position. Component brief description =========================== AD1 (ADC) - is used to measure voltage on PAD1 pin, that is connected to the potenciometer on X-S12ZVH-MB (SCH-27286 REV A) board. Position of the potenciometer influences brightness of LED on PP0 PWM1 (PWM) - provides voltage to LED on PP0 Required Hardware and Settings ============================== X-S12ZVH-MB (SCH-27286 REV A) and S12ZVHY***-144QFP boards Building The Project ==================== Build the project usual way in CodeWarrior. No special settings are required. Running The Project =================== Run the project usual way. Turn potentiometer to see the LED changes intensity. *** End Of File ***

近期下载者

相关文件


收藏者