UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor ivanrocker90
Visitor
5,217 Views
Registered: ‎02-26-2015

XIntc_Connet problem

Jump to solution

I'm trying to generate IRQ from a custom parameter interface IP core, and I'm using the funtions XIntc_Initialize, XIntc_Connect, XIntc_Start and XIntc_Enable, but have problems with the arguments of  XIntc_Connect.

 

int XIntc_Connect (XIntc * InstancePtr, u8 Id, (XInterruptHandler) Handler, void * CallBackRef) 

 

CallBackRef is the callback reference, usually the instance pointer of the connecting driver

Does anybody know how to create the CallBackRef?

0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
8,857 Views
Registered: ‎08-02-2007

Re: XIntc_Connet problem

Jump to solution

hi,

 

there is an example reference available at this link for a custom iP with interrupt.

http://forums.xilinx.com/t5/Embedded-Development-Tools/Interrupt-on-PPC440-with-a-custom-IP-problem/m-p/132830

 

--hem

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
2 Replies
Xilinx Employee
Xilinx Employee
8,858 Views
Registered: ‎08-02-2007

Re: XIntc_Connet problem

Jump to solution

hi,

 

there is an example reference available at this link for a custom iP with interrupt.

http://forums.xilinx.com/t5/Embedded-Development-Tools/Interrupt-on-PPC440-with-a-custom-IP-problem/m-p/132830

 

--hem

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Highlighted
Visitor ivanrocker90
Visitor
5,155 Views
Registered: ‎02-26-2015

Re: XIntc_Connet problem

Jump to solution

Thank you for your help, I'm gonna work on it

0 Kudos