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

StephenHauct
Sat Apr 27 2024, 09:38 am
Adamsaf
Sat Apr 27 2024, 07:12 am
Robertphype
Sat Apr 27 2024, 12:23 am
ktaletrryp
Fri Apr 26 2024, 10:55 pm
Robertrip
Fri Apr 26 2024, 11:20 am
ArnoldDiant
Fri Apr 26 2024, 03:53 am
RodneyKnorb
Thu Apr 25 2024, 07:08 pm
Williamjef
Thu Apr 25 2024, 02:08 pm