Microchip
直播中

甘满盛

8年用户 1360经验值
擅长:386660
私信 关注
[问答]

什么是TMR0ON位?

您好每一个设备是PIC18F46K22,40引脚DIP封装。我正在寻找关于MRON位信息。在任何time0框图中没有显示这个位。有人解释的是目的和工作吗?非常感谢您的帮助。

以上来自于百度翻译


      以下为原文

    Hello everyone

My device is PIC18F46K22, 40 Pins DIP package.
I am looking for info about TMR0ON bit. This bit is not shown in any TIMER0 block diagrams.
Can anyone explain is purpose and working?

Your help will be highly appreciated.

回帖(7)

蒋喜玲

2019-1-7 15:36:36
还有什么要知道的?

以上来自于百度翻译


      以下为原文

    bit 7 TMR0ON: Timer0 On/Off Control bit
1 = Enables Timer0
0 = Stops Timer0
what more is there to know?
举报

石双厚

2019-1-7 15:47:14
RTFMHTTP//WW1.MICCHIP.COM/DeadsL/En/DeVICEDC/OC0401412G.PDFACROBAT阅读器具有搜索功能。

以上来自于百度翻译


      以下为原文

    RTFM http://ww1.microchip.com/downloads/en/DeviceDoc/40001412G.pdf Acrobat reader has a search feature.
举报

寇昕

2019-1-7 15:52:49
事实上,我已经移植了一个PIC18F452到PIC18F46K22的老项目。在旧代码中,未使用此位。当我在46K22上运行相同的代码时,即使在没有使用TMR0ON位时,它也运行得很好。这可能是由于该位的POR值使其在POR上“启用”。我担心的是,虽然该位的名称对其功能有相当的描述,但我很好奇Time0块中的哪一个。图表是否定位。它是用Time0时钟源或它的电源吗?

以上来自于百度翻译


      以下为原文

   


Actually i have ported an old project which was for PIC18F452 to PIC18F46K22. In the old code this bit was not used. When i run the same code on 46K22 it runs perfectly fine even when the TMR0ON bit is not used.
 
Maybe its due to the POR value of this bit which makes it 'Enable' at POR.
 
My concern was that although the name of the bit is fairly descriptive of its function but i was curious where in the TIMER0 block diagram does it locate. Does it gate with the TIMER0 clock source or its Power Source?
举报

寇昕

2019-1-7 16:09:22
如果我指的是Time0框图,那就意味着我已经在看它的数据表了。

以上来自于百度翻译


      以下为原文

   


If i am referring to the TIMER0 block diagram it means i am already looking at its datasheet.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分