Using timer 2

General discussion on mikroC PRO for 8051.
Post Reply
Author
Message
gabreu
Posts: 2
Joined: 14 Jul 2009 02:40

Using timer 2

#1 Post by gabreu » 14 Jul 2009 02:47

Hello everybody!!

I am a new user of mikroC for 8051.
I would like to use the timer 2 in 16 bit auto-reload mode, but I don't know exactly how to do it. Could any one help?

I have the questions below:

For timer 1 we use these sentence for the interruption
"void Timer1InterruptHandler() org 0x1B{...." but what is the right sentence for timer ?

How to set the timer2 as a 16 bit auto-reload mode ?

Thanks in advance
Regards

Guilherme
From Brazil (Sorry about the english mistakes....)

Post Reply

Return to “mikroC PRO for 8051 General”