Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Reading IOPIN on 2106

2005-07-19 by Jay Prunty

The data sheet says I can read IOPIN to get the pin
states regardless of direction and mode.  I'm trying
to read the SSEL line (P0.7) when I have it configured
for the SPI as a slave device.  The value returned
does not reflect the value of the SSEL line.  I have
no problem reading P0.9, but it is configured as a
gpio line.  Can you really read the status of the line
through IOPIN when the line is configured for a
function other than gpio?

Thanks

Jay

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.