I'm fairly new to this whole embedded linux programming thing so
please bear with me (also search is not working at the moment)...
I'm going over the sample code for using the LCD and the keypad on the
DIO header and they appear to have the same address both in the code
(which compiles and works) and on the documentation.
"Input bits are read from address 0xE8000004 and output bits are
written to address 0xE8000008. The register bits are as follows: "
according to the ts-7800-preliminary-manual.html
Is it because the registers are 32 bits and the LCD is the upper 16
and the DIO header is the lower 16? Is this stated somewhere in the
documentation and I have missed it? Also I assume that low-order bits
map to low number pins?
I understand correctly, in general I will set the pin to read (1) or
write (0) by writing to 0xE8000008 and read the value of the pins by
reading the value at 0xE8000004? If I am writing, do I need to write
to the data register before setting the pin to write?
Thanks,
Dan
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|