Skip to contentSkip to conversation

What is the purpose of GPIO pins.

DISCUSSION krishna 3 participants 4 messages Feb 15, 2005 – Feb 16, 2005

lore
Share & tools
lore

krishna

author
#0 lore raw

Hi all,

Can any one tell me the purpose GPIO pin serves.
How are GPIO pins better than dedicated pins, considering hardware
design view and for programming view.

Regards,
Krishna Chaitanya

#1 lore raw
Quoted 6 lines · krishna

Hi all,

Can any one tell me the purpose GPIO pin serves.
How are GPIO pins better than dedicated pins, considering hardware design
view and for programming view.

Do you mean General Purpose I/O bits on a chip?
^ ^ ^ ^
If so, it is intended to live in the lower 16 megabytes of an ix86 machine (higher addresses are not decoded), and at one time, went to the ISA bus, but is now usually a simple asynchronous bus off from some bridge.

Quoted 1 line

From a hardware perspective, it's slow. From a programming

perspective, you don't care where it is.

Quoted 2 lines

Regards,
Krishna Chaitanya

Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.

author
#2 lore raw

Hi,

NO, Sorry I wasn't clear.
I am asking about GPIO controllers used in HandHeld Devices.

Regards,
Krishna Chaitanya

Quoted 31 lines · linux-os
Quoted 6 lines · krishna

Hi all,

Can any one tell me the purpose GPIO pin serves.
How are GPIO pins better than dedicated pins, considering hardware
design view and for programming view.

Do you mean General Purpose I/O bits on a chip?
^ ^ ^ ^
If so, it is intended to live in the lower 16 megabytes of an ix86 machine (higher addresses are not decoded), and at one time, went to the ISA bus, but is now usually a simple asynchronous bus off from some bridge.

Quoted 1 line

From a hardware perspective, it's slow. From a programming

perspective, you don't care where it is.

Quoted 2 lines

Regards,
Krishna Chaitanya

Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.

#3 lore raw
Quoted 2 lines · krishna

NO, Sorry I wasn't clear.
I am asking about GPIO controllers used in HandHeld Devices.

Embedded CPUs usually have general purpose I/O pins for all kind of stuff; you can just use them as inputs (for example for reading keyboards), outputs (e.g. setting LEDs) or use them as interrupt sources with various properties (level, edge, ...).

Robert

Signature · 5 lines
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9