On Jul 9, 2:49 am, ajay <mna...@gmail.com> wrote:
> Now If a pin is pulled up and then PUD register is set to PULL down/PULL
> none.what is the effect.

If you set to pull neither, the voltage may change over time -
depending on leakage or load currents vs the capacitance of the pin,
traces, loads, etc.  Generally you try to avoid letting signals float
in indeterminate ranges.

> And what is the use of setting the PUD register
> based on the hardware configuration of the pin.

One thing can be power consumption - you don't really want to have an
external input working against a pullup/pulldown on a long term basis
in a battery powered device.  For things that try to enter micropower
sleep modes, that becomes an even more serious concern.

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to