Article GPIO example code for BF707

Processor : ADSP-BF707

Attached is the GPIO example code for ADSP-BF707. By default, PORT interrupts are level-sensitive, triggering when an enabled pin is detected as active high. To configure the interrupts for edge sensitivity (i.e., to trigger on a rising edge), use the PINT_EDGE_SET register. To invert the polarity so that interrupts are generated on active-low signals or falling edges, use the PINT_INV_SET register.

This code demonstrates all type of interrupt generation such as,

1) Level sensitive

  • Active High Interrupt

2) Edge Sensitive

  • Rising Edge Interrupt
  • Falling Edge Interrupt

The example can be run directly on the ADSP-BF707 EZ-KIT.

BF707_PushButton_LED.zip

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.