MC9S12XS128中文资料

2026/1/25 4:59:09

中断:

所有可屏蔽中断在单片机复位后都具有相同的优先级,其值为1。若相同优先级的中断同时到来,则具有较高中断向量地址的中断请求获得高优先级。

时钟产生器CRG:

SYNR:同步寄存器 VCOFRQ[1:0]

SYNDIV[5:0]

REFDV:参考分配寄存器 REFFRQ[1:0]

REFDIV[5:0]

POSTDIV:后分配寄存器

如果POSTDIV=0x00,那么fPPL=fVCO CRGFLG:标志寄存器 RTIF:

Real Time Interrupt Flag—RTIF is set to 1 at the end of the RTI period. This flag can only be cleared by writing a 1. Writing a 0 has no effect. If enabled (RTIE=1), RTIF causes an interrupt request. 0 RTI time-out has not yet occurred. 1 RTI time-out has occurred. CRGINT:中断使能寄存器 RTIE:

Real Time Interrupt Enable Bit

0 Interrupt requests from RTI are disabled. 1 Interrupt will be requested whenever RTIF is set. CLKSEL:时钟选择寄存器 PLLSEL

PLL Select Bit Write: Anytime.

Writing a one when LOCK=0 has no effect. This prevents the selection of an unstable PLLCLK as SYSCLK.

PLLSEL bit is cleared when the MCU enters Self Clock Mode, Stop Mode or Wait Mode with PLLWAI bit set.

It is recommended to read back the PLLSEL bit to make sure PLLCLK has really been selected as SYSCLK, as LOCK status bit could theoretically change at the very moment writing the PLLSEL bit.

0 System clocks are derived from OSCCLK (fBUS = fOSC / 2). 1 System clocks are derived from PLLCLK (fBUS = fPLL / 2).


MC9S12XS128中文资料.doc 将本文的Word文档下载到电脑
搜索更多关于: MC9S12XS128中文资料 的文档
相关推荐
相关阅读
× 游客快捷下载通道(下载后可以自由复制和排版)

下载本文档需要支付 10

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:xuecool-com QQ:370150219