15.3.2.1 Use Model 1: Configuring GPIOs to Act as Interrupt to Cortex-M3 Processor
Enable GPIOs using MSS configurator in Libero SoC.
Initialize GPIOs to a predefined state using the MSS_GPIO_init API in SoftConsole or
Libero SoC.
Configure GPIOs as inputs by using the MSS_GPIO_config API in SoftConsole or Libero
SoC.
Use the interrupt API MSS_GPIO_enable_irq to dynamically configure the input from the
MSIO to interrupt the Cortex-M3 processor. Use API MSS_GPIO_disable_irq to disable the
interrupt to the Cortex-M3 processor.
Each GPIO input can also be read using the MSS_GPIO_get_inputs API.
The online versions of the documents are provided as a courtesy. Verify all content and data in the device’s PDF documentation found on the device product page.