hi to every one,

I am working in AT91RM9200 microcontroller,I want to use interrupt functions in that microcontroller can someone suggest solutions,

I am using C code.

what compiler are you using? If its a 16-bit compiler such as Turbo C there is functions such as int86(). Or you can use inline assembly if your compiler supports it.

thanks for viewing my query ,

I am using 32-bit arm-linux-gcc compiler

OS:ARM-LINUX

I know nothing about it but I would think you will have to get the os specifications and assembly language requirements, then find out how to do inline assembly with your compiler. google around and you will probably find the information such as read some of these google links.

But if Linux is the OS running on your AT91RM9200 microcontroller, then there are no physical interrupts you can get access to. All user-mode programs live in a nice virtual world well away from the hardware.

Unless you're talking about a kernel-mode device driver for some new device you've attached to the micro controller in some way, in which case that's a completely different problem. One which needs a far more detailed explanation than a 1-line "help" post.

The other scenario is that your OS/Compiler you mention refers to the platform you're developing on, not the platform the code is running on. This doesn't really help either.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.