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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/15/04 16:17
Read: times


 
#68554 - RE: 1 port - input/output at the same time?
Responding to: ???'s previous message
Hi Leo,

8051 is bit/byte processor the 8051 ports can be accessed as individual pins(bits) or as a whole port(byte) you can use the said configuration. There exists instruction to manipulate ports in bit as well as byte format.
Exaple:
Reading:
Bit -> mov c,p1.0
byte-> mov a,p1
Writing:
Bit -> mov p1.0,c
byte-> mov p1,a

You need to read the "bible" links given by erik.

List of 16 messages in thread
TopicAuthorDate
1 port - input/output at the same time?            01/01/70 00:00      
   RE: 1 port - input/output at the same time?            01/01/70 00:00      
   RE: 1 port - input/output at the same time?            01/01/70 00:00      
      RE: 1 port - input/output at the same time?            01/01/70 00:00      
         RE: 1 port - input/output at the same time?            01/01/70 00:00      
         RE: 1 port - input/output at the same time?            01/01/70 00:00      
            RE: 1 port - input/output at the same time?            01/01/70 00:00      
               RE: 1 port - input/output at the same time?            01/01/70 00:00      
                  RE: 1 port - input/output at the same time?            01/01/70 00:00      
         RE: 1 port - input/output at the same time?            01/01/70 00:00      
            RE: 1 port - input/output at the same time?            01/01/70 00:00      
               RE: 1 port - input/output at the same time?            01/01/70 00:00      
               RE: 1 port - input/output at the same time?            01/01/70 00:00      
         RE: 1 port - input/output at the same time?            01/01/70 00:00      
   RE: 1 port - input/output at the same time?            01/01/70 00:00      
      RE: 1 port - input/output at the same time?            01/01/70 00:00      

Back to Subject List