piclist 2001\01\15\192135a >
Thread: grounding unused inputs
www.piclist.com/techref/microchip/ios.htm?key=input
flavicon
face BY : Dan Michaels email (remove spam text)



Dwayne Reid wrote:

>I would agree with your reasoning above *if* I set the TRIS registers only
>at the start of code and never touched them again.  But I consider that to
>be bad practice.  I refresh all important registers regularly, usually in
>the routine that looks after the watchdog timer.


Also a good idea - back when I worked with 6805, Motorola actually
recommended in their databooks to periodically refresh the TRIS
registers [whatever they called them], just in case they are
changed by ESD/noise/etc. This should be easy to do in the outermost
code loop, since the TRIS are usually set on bootup and rarely changed,
in most cases.

- danM

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email RemoveMElistservspamspammitvma.mit.edu with SET PICList DIGEST in the body


<1.5.4.16.20010115171323.35ef4502@pop.dnvr.uswest.net>

See also: www.piclist.com/techref/microchip/ios.htm?key=input
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) grounding unused inputs

month overview.

new search...