Hi all,
Finally I have to use DIO_16 and friends.
Unfortunately I can't get it to go high. What am I doing wrong?
The board is a TS7400 Rev A SN 3565.
TIA
/Janne
#define TS7400_UART2STAT 0x12400000
#define TS7400_GPBUS_DIRECTIONDATA_DIO16_DIO19 0x12000001
GPIO1619X = (volatile unsigned char *)
__ioremap(TS7400_GPBUS_DIRECTIONDATA_DIO16_DIO19, 1, 0);
p = (volatile unsigned char *)__ioremap(TS7400_UART2STAT, 1, 0);
writeb(0xe0, p); /* disable UART2 */
writeb((0x01 << 4), GPIO1619X); /* set DIO_16 to output */
writeb(0x01, GPIO1619X); /* set DIO_16 high *
writeb(0x00, GPIO1619X); /* set DIO_16 low *
------------------------------------
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/
|