Connecting Interuupt table/vector to the specific unit(Timer.Uart etc)
Eyal Katz
Hi
I am not enough familiar with the P89C51RD2 though as I know from other processors/OS the common way to use a HW interrupt is
define the interrupt and set its address to the vector table. The connection of the interrupt table to the specific unit is a hardware dependent for example interrupt 1 is timer0 and so on. is trhis correct ? or there is a possible to define specificaly that timer0 will use for example, int 5 ?
can you send a code example for timer0/1/2?
and were it is written in the data sheet ?
Regards Eyal
Read-Only
Author erik malund
Posted 31-Jul-2003 13:57 GMT
Toolset C51
RE: Connecting Interuupt table/vector to the specific unit(Timer.Uart etc)
erik malund
I am not enough familiar with the P89C51RD2
a very good reason to read the datasheet. were it is written in the data sheet ?
If you try to find it yourself you will, in the process thereof, become familiar with where other things are in the datasheet.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.