Hello there,
As titled, I want to find a GPIO pin to set as input touch interrupt on QNX 7.1 for i.MX 8QM board.
I have two problems:
//Make the pin input
out32((dp->gpio1_regbase + GPIO_OE), in32(dp->gpio1_regbase + GPIO_OE) | pin);
//low level irq detect
out32(dp->gpio1_regbase + GPIO_LEVELDETECT0, in32(dp->gpio1_regbase + GPIO_LEVELDETECT0) & ~ pin);
//high level irq detect
out32(dp->gpio1_regbase + GPIO_LEVELDETECT1, in32(dp->gpio1_regbase + GPIO_LEVELDETECT1) & ~pin);
//rising edge detect
out32(dp->gpio1_regbase + GPIO_RISINGDETECT, in32(dp->gpio1_regbase + GPIO_RISINGDETECT) & ~pin);
//falling edge detect
out32(dp->gpio1_regbase + GPIO_FALLINGDETECT, in32(dp->gpio1_regbase + GPIO_FALLINGDETECT) | pin);
//Reset any stray status lurking
out32(dp->gpio1_regbase + GPIO_IRQSTATUS_0, in32(dp->gpio1_regbase + GPIO_IRQSTATUS_0) | pin);
Hello @wslin123
I hope you are doing very well.
Unfortunately, this channel does not provide support for QNX.
You can contact to our profesional services to get more information.
Best regards,
Salas.
Hello @Manuel_Salas
Thanks for your reply.
If I simplify the questions and they're as follows.
Then it seems to be not specific to QNX.
May I know if these two questions are supported on this channel?
Best Regards,
Wei-Shih Lin