Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/24/01 13:33
Read: times


 
#13467 - RE: logic comparison on pins, Erik
Erik,

think of the port-pin as a junction of the internal and an external driver.
Logic-0 wins, hence the reference to'wired-and'.
by setting a port pin to logic high you don't set it to input, because the MCS-51 doesn't have any port direction registers - however it can but must not be driven low by external hardware.

> but the remaining ports are not exactly low Z in their high state either

sure, they have a weak pull-up in their steady state, and thats the reason why they are in fact bidirectional.

Cheers, Roger

List of 9 messages in thread
TopicAuthorDate
logic comparison on pins            01/01/70 00:00      
RE: logic comparison on pins            01/01/70 00:00      
RE: logic comparison on pins            01/01/70 00:00      
RE: logic comparison on pins            01/01/70 00:00      
RE: logic comparison on pins            01/01/70 00:00      
RE: logic comparison on pins            01/01/70 00:00      
RE: logic comparison on pins            01/01/70 00:00      
RE: logic comparison on pins, Roger            01/01/70 00:00      
RE: logic comparison on pins, Erik            01/01/70 00:00      

Back to Subject List