??? 04/15/05 12:53 Read: times |
#91639 - oh yes there is Responding to: ???'s previous message |
There is no such thing as "setting an 8051 port for input"
should read There is no such thing as "setting an 8051 port for input" on a traditional '51 implementation which would be 100% correct In quite a few modern derivatives (Philips, SILabs and more) have "port configuration" SFRs. A tidbit: Philips specify that the IIC pins on the LPC9xx derivatives can only be set to "input only" or "open drain". Well I had to ask "who does that work for a bidirectional bus?" and the reply was "Oh open drain with pullups can still be read when set to '1'". That, of course was nowhere in the documentation. Erik |
Topic | Author | Date |
Bit Bang i2c | 01/01/70 00:00 | |
You should | 01/01/70 00:00 | |
Errr | 01/01/70 00:00 | |
a slight problem | 01/01/70 00:00 | |
I was | 01/01/70 00:00 | |
Licence | 01/01/70 00:00 | |
call it SMB | 01/01/70 00:00 | |
maybe different | 01/01/70 00:00 | |
Maybe! | 01/01/70 00:00 | |
Correction! | 01/01/70 00:00 | |
SETB SDA | 01/01/70 00:00 | |
misunderstanding? | 01/01/70 00:00 | |
re: | 01/01/70 00:00 | |
Thanks to Atmel | 01/01/70 00:00 | |
'Stub' resistors missing? | 01/01/70 00:00 | |
Pull ups ? | 01/01/70 00:00 | |
Not those... | 01/01/70 00:00 | |
Rp | 01/01/70 00:00 | |
IIC is owned by philips why not go there | 01/01/70 00:00 | |
You're right! | 01/01/70 00:00 | |
Set port as input - NO SUCH THING! | 01/01/70 00:00 | |
oh yes there is | 01/01/70 00:00 | |
Yes, but not here? | 01/01/70 00:00 | |
nowhere in the documentation | 01/01/70 00:00 | |
one more reason not to rely on testing | 01/01/70 00:00 | |
one more reason not to rely on testing | 01/01/70 00:00 | |
Catch 'em young ... | 01/01/70 00:00 | |
Yes![]() | 01/01/70 00:00 |