欢迎来到天天文库
浏览记录
ID:37678612
大小:704.52 KB
页数:46页
时间:2019-05-28
《飞思卡尔MCU时钟模块设置》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、FreescaleHCS12微控制器MC9S12DP2562005年8月TMFreescaleSemiconductorConfidentialandProprietaryInformation.Freescale™andtheFreescalelogoaretrademarksofFreescaleSemiconductor,Inc.Allotherproductorservicenamesarethepropertyoftheirrespectiveowners.©FreescaleSemiconductor,Inc.
2、2005.CreatedwithSmartPrintertrailversionwww.i-enet.comEnhancedCaptureTimerModule增强型捕捉定时器模块TMFreescaleSemiconductorConfidentialandProprietaryInformation.Freescale™andtheFreescalelogoaretrademarksofFreescaleSemiconductor,Inc.Allotherproductorservicenamesaretheproper
3、tyoftheirrespectiveowners.©FreescaleSemiconductor,Inc.2005.CreatedwithSmartPrintertrailversionwww.i-enet.comECT模块结构•一个16位向上带可编程预分频的主计数器.•一个16位的带可编程预分频的模数向下计数器•8个独立的定时器通道,每个通道具备输入捕捉和输出比较功能•4个8位脉冲累加器,也可设置成2个16位脉冲累加器.•通过对寄存器编程可以实现不同的功能Slide2TMFreescaleSemiconductorCo
4、nfidentialandProprietaryInformation.Freescale™andtheFreescalelogoaretrademarksofFreescaleSemiconductor,Inc.Allotherproductorservicenamesarethepropertyoftheirrespectiveowners.©FreescaleSemiconductor,Inc.2005.CreatedwithSmartPrintertrailversionwww.i-enet.com定时器结构模块时
5、钟计时器溢出时,对溢出标志位预分频选择置位,如允许中断,则向CPUMClock发出中断请求PR[2:0]$FFFE$FFFF$0000***************TOF****1248163264128计数器寄存器TCNT15...........................................0CLKAddressOffset.TCNT$0004,05B0.......……...B7B8……..........B15TENPINDATABUS脉冲累加器TSCR1-定时器控制寄存器TENTSWAITSFR
6、ZTFFCARRRR$0006RST:00000000R=Reserved1–计数器使能0–计数器禁止Slide3TMFreescaleSemiconductorConfidentialandProprietaryInformation.Freescale™andtheFreescalelogoaretrademarksofFreescaleSemiconductor,Inc.Allotherproductorservicenamesarethepropertyoftheirrespectiveowners.©Freesc
7、aleSemiconductor,Inc.2005.CreatedwithSmartPrintertrailversionwww.i-enet.com定时器,预分频,计数器寄存器:16位自由运行/模计数器B15............................................................................................................................…B0AddressOffset1.TCNT$0004,$0005RS
8、T:0........................................................................................................................0B7..........................
此文档下载收益归作者所有