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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/13/10 13:55
Read: times


 
#173122 - clarify?
Responding to: ???'s previous message
Eatzik T said:
id like to create a timer interrupt when it will find out 9 pin legs state (of my 89s52) like port 2 and p1_3.

Do you mean you want to "poll" the inputs, using a timer interrupt as your "trigger" to do each poll?

Have you looked at the Tutorials on this site?

if there was a change it will count it and store it.

That bit should be easy - isn't it?

how can i start with the registers?

First, you need to know what registers there are, and what they do.
For this, you will need to consult the device Datasheet (for device-specific features) and/or the so-called "bible" for the 8051 for features standard to the architecture:
http://www.8052.com/faqs/120112

(i think it common)

It is - so google should help?


List of 6 messages in thread
TopicAuthorDate
help with timer interrupt for pins state            01/01/70 00:00      
   clarify?            01/01/70 00:00      
      replay            01/01/70 00:00      
         bible time            01/01/70 00:00      
         Time to read the Tutorials, then            01/01/70 00:00      
   Look At This            01/01/70 00:00      

Back to Subject List