Re: Reg: Zephyr 1.6 GPIO Mask and Unmask gpio interrupts


vishnuvaradan vishnuvaradan
 

Hi tomasz and mahendra

what #define to be used in gpio_pin_configure to mask and unmask gpio
interrupt ?
can you help me with an example ?

On Thu, Dec 8, 2016 at 8:20 PM, Tomasz Bursztyka <
tomasz.bursztyka(a)linux.intel.com> wrote:

Hi,

So from the application level to mask and unmask gpio interrupts can I use
QM_IR_MASK_INTERRUPTS & QM_IR_UNMASK_INTERRUPTS functions

(Or) should I use settings in gpio_pin_configure function ??


The second one. Always use the Zephyr GPIO API, so include/gpio.h

Tomasz

Join devel@lists.zephyrproject.org to automatically receive all group messages.