Discussion Forum

Connecting Interuupt table/vector to the specific unit(Timer.Uart etc)

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
Eyal Katz
Posted
31-Jul-2003 08:28 GMT
Toolset
C51
New! Connecting Interuupt table/vector to the specific unit(Timer.Uart etc)
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
New! RE: Connecting Interuupt table/vector to the specific unit(Timer.Uart etc)
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.

Erik

Next Thread | Thread List | Previous Thread Start a Thread | Settings