piclist 2001\09\18\090528a >
Thread: TMR0 time out on 12C50x
www.piclist.com/techref/microchip/time.htm?key=time
flavicon
face BY : mikeTakeThisOuT@spamwhitewing.co.uk



On Tue, 18 Sep 2001 11:39:03 +0100, you wrote:

>Hi Folks,
>    I want to be able to interrupt(reset is what actually happens) a 12C50x
>on a timeout of TMR0. However in the spec sheet I don't readily see and
>combination of flags in the status register that would indicate this
>condition. Am I missing something or is it just not implemented in this
>processor and I have to poll TMR0 instead(yeuk).
>
>Thanks,
>John
The C5x parts have no interrupt facility, so yes, you need to poll it.
To make this simpler, you can treat the timer as 7 bits, with the top
bit being used as a rollover flag - this means you only need to poll
at a rate of at least 1/128th of the TMR0 clock rate

--
http://www.piclist.com hint: To leave the PICList
spampiclist-unsubscribe-requestRemoveMEspamTakeThisOuTmitvma.mit.edu


<m4deqt4lhlrq23dip2m9af853hjm70amdh@4ax.com> quoted-printable

In reply to: <00ca01c1402e$2788e200$1701a8c0@johnspc>
See also: www.piclist.com/techref/microchip/time.htm?key=time
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) TMR0 time out on 12C50x

month overview.

new search...