在线时间128 小时
UID2091686
注册时间2014-5-7
NXP金币0
TA的每日心情 | 开心 2017-4-27 08:44 |
---|
签到天数: 64 天 连续签到: 1 天 [LV.6]常住居民II
金牌会员
 
- 积分
- 1703
- 最后登录
- 1970-1-1
|
发表于 2015-7-14 11:23:46
|
显示全部楼层
MCGIRCLK使能了吗?在STOP模式下使能了吗?
The MCG Internal Reference Clock (MCGIRCLK) provides a clock source for other onchip peripherals and is enabled when C1[IRCLKEN]=1.
Additionally, this clock can be enabled in Stop mode by setting C1[IRCLKEN] and
C1[IREFSTEN], otherwise this clock is disabled in Stop mode.
另外,初始化lptmr寄存器是,enable_interrupt()最好放在最后使能。 |
|