參數(shù)資料
型號(hào): AN2701
廠商: 飛思卡爾半導(dǎo)體(中國(guó))有限公司
英文描述: PWM Generation with the HC08 Timer
中文描述: PWM生成與HC08的計(jì)時(shí)器
文件頁(yè)數(shù): 13/14頁(yè)
文件大?。?/td> 158K
代理商: AN2701
APPENDIX
PWM Generation with the HC08 Timer, Rev. 0
Freescale Semiconductor
13
* DESCRIPTION: This ISR describe how to use rolling PWM generation, not to tie
* all channels from a Timer to the same period.
*
* AUTHOR: A.RAMPON LOCATION: EKB LAST EDIT DATE: 15/08/04
*
* UPDATE HISTORY
* REV AUTHOR DATE DESCRIPTION OF CHANGE
* --- ------ --------- ---------------------
* 1.0 A.Rampon 11/08/04 Initial Release
******************************************************************************/
#ifndef __AN2701_TIMER_ISR_C
#define __AN2701_TIMER_ISR_C /* if this H file not included, include */
#include "hc08gz60.h"
/**********************************************************************
Function Name : _PWMTimerChan0ISR
Engineer : A.Rampon
Date : 01/04/04
Parameters : NONE
Returns : NONE
Notes : Interrupt service routine for Rolling PWM Generation on Channel 0.
**********************************************************************/
#pragma TRAP_PROC
void _PWMTimerChan0ISR(void)
{
/* if channel is set to generate rising edge */
/* On MC908AZ60A, TBCH0 is PTF4 */
/* If after toggled output is set, */
/* a mark is beginning */
if (PTF4 == 1)
{
/* set up timer compare for mark time */
/* relative to the last transition */
TBCH0 += Mark[0];
}
else
{
/* set up timer compare for space time */
/* relative to the last transition */
TBCH0 += Space[0];
}
}
相關(guān)PDF資料
PDF描述
AN2821 eTPU Host Interface
AN2848 Programming the eTPU
AN2897 Using the eTPU Angle Clock
AN2904FHQ AN2904FHQ - Sound input/output interface IC for digital still camera
AN2933 Understanding the eTPU Channel Hardware
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AN270-3HDG 制造商:Thomas & Betts 功能描述:SUPPORT FITTING 10"
AN270-5HDG 制造商:Thomas & Betts 功能描述:SPECIAL APP. FITTINGS & BRACKETS
AN270B10 制造商: 功能描述: 制造商:undefined 功能描述:
AN271 制造商:Panasonic Industrial Company 功能描述:IC
AN-272 制造商:Panasonic Industrial Company 功能描述:IC