i am trying to use INT1 of ADUC845 but i am not able use it, even though i am not able use it, i am able to use INT0 by enabling EX0=1, IT0=1, EA=1,like EX1=1,IT1=1,EA=1;
so please get me out of this issue
As written before - the vector must match the INT1.
Your INT1 handler is linked to the vector-address for the Timer 0 - see below extract from C51 users manual ...
Looks ok - what is the HW looking like ?
i mean to say, i am using EX0=1, IT0=1 EA=1 for INT0 , similarly i am uising EX1=1, IT1=1, EA=1 for INT1 , for INT0 i am getting the results as per my requirement but with INT1 i am not getting the results.
What you mean - not getting the results as expected ???
Did you change the interrupt vector correctly ?
INT0 has vector address 0x03
INT1 has vector address 0x13
Are you sure the HW works correct ?
the above one is the program which i wrote to use INT1
this is the program to use INT0 , with this second program i am getting the output please concentrate on BOLD letters
van u send a small example code using INT1 for ADUC845 in C language please...
It is basically your code - just 1 change - please read at least the extract from the C51 manual in my previous post.
THANK YOU THANK YOU SO MUCH.... i didnt noticed that clearly tilnow.. but once u focuseed on that particular 1 replacing with 2 ,, i got the output
Retrieving data ...