This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3352: AM335x GPIO_IRQSTATUS_RAW register,

Part Number: AM3352


Hi,

I am trying to understand the purpose of GPIO_IRQSTATUS_RAW register.
Could you please let me know if my understanding below is correct.

1.Is this register used for debug purpose to trigger the IRQ manually and to check the status of the active events?

2.The actual application will be using GPIO_IRQSTATUS_x register (not the GPIO_IRQSTATUS_RAW register).

3.The IRQ status in the GPIO_IRQSTATUS_RAW register will be cleared by writing 1 to GPIO_IRQSTATUS_x register?

Best Regards
paddu

  • Hi,

    1. GPIO_IRQSTATUS_RAW provides core status information for the interrupt handling, showing all active events (enabled and not enabled). Writing a 1 to a bit sets it to 1, that is, triggers the IRQ (mostly for debug). Writing a 0 has no effect, that is, the register value is not modified. Only enabled, active events trigger an actual interrupt request on the IRQ output line.
    2. This is the normal usage.
    3. Yes.