piclist 2001\04\16\070313a >
Thread: Is is possible using TMR0?
face BY : mikeRemoveME@TakeThisOuTwhitewing.co.uk

On Sun, 15 Apr 2001 21:42:06 MDT, you wrote:

>Is a 16-bit counter possible using TMR0? =)
>Any tips?
Depends on what you mean by a 16 bit counter. You could just use the
prescaler, but this limits count resolution, as you can't read the
prescaler. On parts other than the 5x series, the other way is to generate an
interrupt on the TMR0 rollover and keep a high-byte in software. It is
also possible to use a hybrid of these methods (i.e prescaler +
software count), depending on applications requirements.
http://www.piclist.com hint: To leave the PICList

<uddldtcumnk466pnc7oc251nhg496nnhlj@4ax.com> quoted-printable

In reply to: <20010416034206.22050.qmail@nwcst336.netaddress.usa.net>
See also: www.piclist.com/techref/microchip/devices.htm?key=pic
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) Is is possible using TMR0?

month overview.

new search...