lkml.org 
[lkml]   [2005]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: What is the Purpose of GPIO Controller.
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.034 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site