cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
2,145 Views
Registered: ‎01-07-2014

problem to write program in SDK for interrupt handling

hello everybody

I am doing experiments with virted 6 based ML605 board. I want to generate an external interrupt for microblaze when any on board push button is pressed.

but I am getting confuse to write exact program in SDK for this. i am confuse because there are different functions to initilize, register, connect,enable interrupts

 

XIntc_Initialize and XIntc_Connect

Xintc_RegisterHandler

microblaze_register_handler

XIntc_Enable

 

Xintc_mIntrEnable

XGpio_interruptEnable

XGpio_GlobleEnable

 

etc so many different functions

I dont know which one to use where and when?

please help

 

 

0 Kudos
Reply
1 Reply
Highlighted
Xilinx Employee
Xilinx Employee
2,138 Views
Registered: ‎08-02-2007

 

Hi,

 

There is one example document that can help you generate an interrupt using a push-button as an external interrupt.

 

Check this PDF

 

http://forums.xilinx.com/xlnx/attachments/xlnx/EDK/22898/1/Interrupt_debug.pdf

 

--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
Reply