Messages in this thread | | | Subject | Re: What is the Purpose of GPIO Controller. | From | Ian Campbell <> | Date | Tue, 15 Feb 2005 15:11:18 +0000 |
| |
On Tue, 2005-02-15 at 19:57 +0530, krishna wrote: > Form your mail I understand GPIO controller serves some Hardware > designers purpose. > But what _purpose_ is it serving a _programmer_.
All a gpio controller does is allows the programmer to configure a line as an input or an output, and then either read it or make it high or low.
This allows the programmer to control the hardware. Exactly how and what you control it is 100% a function of what the hardware designer has done.
Unless you have access to documentation or the hardware engineers brain you'll just have to work out what each line does by trial and error.
Ian.
-- Ian Campbell Current Noise: Opeth - To Rid the Disease
Variables don't; constants aren't.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |