I am new to use MPC8309, kernel version:220.127.116.11, BSP version:TWRMPC8309_Linux_BSP.zip.i want to use gpio as a interrupt function,from high level to low level as trigger condition,refer to MPC8309RM.pdf
i call request_irq(),function as follow：
request_irq() the second parameter only set up "IRQF_TRIGGER_LOW“，if set up "IRQF_TRIGGER_RISING" "IRQF_TRIGGER_FALLING" "IRQF_TRIGGER_HIGH"will cause error , error:"INVAL".
I used IRQ0、IRQ1.as follow:
but it no error, i see MPC8309RM.pdf,find System External Interrupt Control Register (SECNR)
the EDIx can set up interrupt signals,but i do not find set up interrupt signals in System Internal Interrupt Control Register.
i do not know what different system external interrupt(IRQ0) and system internal interrupt(GPIO)，and gpio can not set up IRQF_TRIGGER_RISING" "IRQF_TRIGGER_FALLING" "IRQF_TRIGGER_HIGH" state, only set up IRQF_TRIGGER_LOW and not be change..
who can give me some advise ?
Have a good day .