事实上,我已经移植了一个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?
事实上,我已经移植了一个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?
举报