Home/Support/Support Forum/How to use RIO interrupt with RCM 6760.
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How to use RIO interrupt with RCM 6760.

0 votes
We have RIO connect to RCM6760. I want to use interrupt method whenever RIO input is toggle. Can you point me to the right direction?

I tried the following and it is not working for me.

codes:
main()
{
WrPortI(PEDDR, &PEDDRShadow, 0x00); // set port E as all inputs
SetVectExtern(1, my_isr1);
WrPortI(I1CR, &I1CRShadow, 0x09); // enable external INT1 on PE5, rising
edge,priority 1

WrPortE(MCR_REG,NULL,0x01);//enble interuppt for IO

}
asked 6 days ago in Rabbit by Ctjpham New to the Community (3 points)

Please log in or register to answer this question.

1 Answer

0 votes
If you monitor that I/O line, do you see the RIO chip change it's state?

If you connect that input to a switch, can you manually trigger the interrupt?

I just want to confirm that the problem is with the code you posted (triggering the interrupt on the Rabbit) and not with the RIO configuration (generating the interrupt signal to the Rabbit).
answered 14 minutes ago by TomCollins Veteran of the Digi Community (2,112 points)
...