完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
您好每一个设备是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个回答
|
|
还有什么要知道的?
以上来自于百度翻译 以下为原文 bit 7 TMR0ON: Timer0 On/Off Control bit 1 = Enables Timer0 0 = Stops Timer0 what more is there to know? |
|
|
|
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. |
|
|
|
事实上,我已经移植了一个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? |
|
|
|
如果我指的是Time0框图,那就意味着我已经在看它的数据表了。
以上来自于百度翻译 以下为原文 If i am referring to the TIMER0 block diagram it means i am already looking at its datasheet. |
|
|
|
在较旧的设备(PIC16)中,Time0在默认情况下是活动的,实际上不能被停用。因此,这可能是为了兼容性(遗留)而保留的。不管怎样,数据表应该告诉我们有关缺省电源的信息。
以上来自于百度翻译 以下为原文 In older-older devices (PIC16) Timer0 was active by default, and actually could not be deactivated. So it could be this was kept for compatibility (legacy). Anyway, yep, the datasheet should tell about power-on defaults |
|
|
|
关心?我认为懒散的好奇心。我认为这只是在两个计数器上启用输入。不管它是如何工作的,但是它绝对不能关掉定时器的电源,或者当它关闭时你不能读/写定时器寄存器。
以上来自于百度翻译 以下为原文 Concern? I think idle curiosity. I think it's just enable inputs on the two counters. It doesn't matter how it works, but it definitely can't turn off power to the timer or you couldn't read/write the timer registers when it's off. |
|
|
|
它最有可能是TMR0计数器寄存器的两个输入和门,其中TMR0ON是与门的输入。
以上来自于百度翻译 以下为原文 It's most likely a two-input AND gate to the TMR0 counter register, where TMR0ON is an input to the AND gate. |
|
|
|
只有小组成员才能发言,加入小组>>
5192 浏览 9 评论
2012 浏览 8 评论
1936 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3183 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2238 浏览 5 评论
746浏览 1评论
633浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
517浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
644浏览 0评论
544浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-1 11:35 , Processed in 1.303141 second(s), Total 91, Slave 74 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号