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

Back to Subject List

Thread Closed: Issue successfully resolved

???
11/29/05 08:01
Read: times


 
#104320 - Misleading comments
Responding to: ???'s previous message
Ali Sener said:
what is the difference between sending high to a pin or making a bit of a port as input using setb command ? i always see same command and different comment...

That's the trouble with sloppy terminology!

Unlike some other architectures, In the standard 8051, there is no way to "make a port an output" nor to "make a port an input" - they are all bidirectional[1] all the time:

See: http://www.8052.com/forum/read.phtml?id=88984

If the datasheet doesn't say anything different from the "bible," then the "bible" applies.


[1] Actually, they's quasi-bidirectional

List of 6 messages in thread
TopicAuthorDate
help about I/O operation            01/01/70 00:00      
   no difference            01/01/70 00:00      
   Misleading comments            01/01/70 00:00      
      once again, it's bible time            01/01/70 00:00      
         chapter & verse            01/01/70 00:00      
      thanks to all            01/01/70 00:00      

Back to Subject List