4. irq_status_interrupt

4.1. Function description:

  • This demo shows LGPIO in interrupt mode.

  • Configure lgpio as external input interrupt (high level). When the external input is high level, an interrupt will be generated.

4.2. Test result:

If there is an external input high level, printf pass, if not printf fail.

4.3. IO connection:

None

Note

The high level signal is provided from tb force.