Discussion in "8051 Discussion Forum" started by    software_developer    Nov 15, 2014.
Sat Nov 15 2014, 05:53 pm
#1
how to use counter in interrupt mode for 8051?
Wed Nov 19 2014, 04:04 pm
#2
Have you ever used timer in interrupt mode? If yes then it's the same thing here. Timer uses internal clock whereas counter uses external clock or a signal on a port pin. So if know know timers then counter is same. Try to write something and let us know if you have any issues.
Tue Dec 02 2014, 04:08 pm
#3
I'm actually trying to code a timer interrupt in Assembly. I can try to write a counter interrupt later in Assembly or in C. But I'm not using Keil compiler. So, it might need a few adjustments accordingly!

Best regards
Psy
Wed Dec 10 2014, 10:02 am
#4
Assembly is easier when it comes to interrupts and it does not matter what compiler or assembler you're using as assembly language is related to controller not compiler. So there is no scope of change in syntax or anything. Try to write something we will help you fix the code and make you learn.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm
Bernardwarge
Tue Mar 26 2024, 11:15 am