Thread (6 messages) flat view 6 messages, 4 authors, 2007-09-20

Re: Configuration-Problem ext-interrupt on mpc52xx

From: Juergen Beisert <hidden>
Date: 2007-09-19 14:54:29

Silvio,

On Wednesday 19 September 2007 13:59, S. Fricke wrote:
how can i configure an "ext interrupt" to high-level? I want a interruption
on IRQ2, but I checked with an oscilloscope that the pin has a low state
and I needs a high state.

I have tried, after I got the irq (with irq_of_parse_and_map), set it with

    set_irq_type(irq, IRQ_TYPE_LEVEL_HIGH);

But I think it is a system-configuration (irq_desc) and no
device-configuration.
Try with the attached patch.

Regards,
Juergen

-- 
Dipl.-Ing. Juergen Beisert | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
    Handelsregister: Amtsgericht Hildesheim, HRA 2686
         Vertretung Sued/Muenchen, Germany
   Phone: +49-8766-939 228 |  Fax: +49-5121-206917-9

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help