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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/26/06 15:21
Read: times


 
#108369 - Quasi bidirectional
Responding to: ???'s previous message
Dear Mohit,


These ports are quasi bidirectional so they are always in output mode. if yopu connect these pins to some digital inputs those inputs will follow the voltages on the pins. which is echo of the latch values. so you dont have to initialize a port as output port. But if yo want to let the other digital outputs drive it you must initialize latch values to all '1's. Refer to standard 8051 port schematics you will see by writin '1's to latches you actually turn off the Driver FET so that external world can drive the pins to a high logic level. reading the port not reads the latches but the interprets the voltage on the pins according to VIL and VIH specs (i.e. nett effect of all the pull ups and pulldowns acting on the pin) once during the cycle .


Abhishek




List of 51 messages in thread
TopicAuthorDate
initializing a port as output            01/01/70 00:00      
   STOP THE BABBLE            01/01/70 00:00      
      Keil says....            01/01/70 00:00      
         Keil is wrong!            01/01/70 00:00      
            what about the bible itself            01/01/70 00:00      
               the issue is not if someone can find ref            01/01/70 00:00      
                  Dont see any confusion            01/01/70 00:00      
                     what works            01/01/70 00:00      
                     The confusion arises...            01/01/70 00:00      
                        yes that may be the thing            01/01/70 00:00      
                  We talk about the "Bible"!            01/01/70 00:00      
                     it really is a wired or configuration            01/01/70 00:00      
                        No disagree            01/01/70 00:00      
                        I agree, but all are not equal            01/01/70 00:00      
         Confguring......            01/01/70 00:00      
   Quasi bidirectional            01/01/70 00:00      
      NO, NO, NO STOP THE BABBLE            01/01/70 00:00      
         there is only output mode            01/01/70 00:00      
            no, there is NO mode!!!!!!!!!!!!!            01/01/70 00:00      
         Who is babbling?            01/01/70 00:00      
            Maybe Rude but right            01/01/70 00:00      
               Mode clarified            01/01/70 00:00      
                  No, that's wrong            01/01/70 00:00      
                     i see            01/01/70 00:00      
                     Why is this wrong??            01/01/70 00:00      
                        playing with words            01/01/70 00:00      
                           Yes            01/01/70 00:00      
                           "Mode" is the word            01/01/70 00:00      
                              what i meant            01/01/70 00:00      
                  No            01/01/70 00:00      
                     which mode            01/01/70 00:00      
                     lets play with words            01/01/70 00:00      
                  Exception            01/01/70 00:00      
                     see this            01/01/70 00:00      
                     a valid, sometimes overlooked point            01/01/70 00:00      
                        Indeed            01/01/70 00:00      
               Yes, but weak or strong            01/01/70 00:00      
            yes and no            01/01/70 00:00      
               Yes, that's it!            01/01/70 00:00      
                  one more word            01/01/70 00:00      
         What a Rudeness            01/01/70 00:00      
   No input output            01/01/70 00:00      
      Just read the port!!!!!!!!!!!!!!!1            01/01/70 00:00      
         yes            01/01/70 00:00      
            not offending            01/01/70 00:00      
               not really            01/01/70 00:00      
                  see what keil says            01/01/70 00:00      
                     about "rudeness"            01/01/70 00:00      
                        No excuse            01/01/70 00:00      
                           what agression, what rudeness            01/01/70 00:00      
                              Haha!            01/01/70 00:00      

Back to Subject List