# nsx-gpio

<!-- nsx:facts -->
GPIO configuration, level I/O, and edge-triggered pin interrupts layered on nsx-interrupt.

- Type: Library / service
- Version: 5.2.33
- Project: nsx-ambiq-sdk
- Revision: v5.2.33
- Source: https://github.com/AmbiqAI/nsx-ambiq-sdk/tree/v5.2.33
- Capabilities: gpio, digital_io, pin_interrupt
<!-- /nsx:facts -->

## Add it to an app

```bash
nsx module add nsx-gpio
```

## Capabilities

- gpio
- digital_io
- pin_interrupt

## Use cases

- drive and read board pins
- toggle indicator or trigger pins for profiling
- register edge-triggered callbacks for input pins

## Requires

- [`nsx-core`](https://ambiqai.github.io/neuralspotx/modules/nsx-core/)
- [`nsx-soc-hal`](https://ambiqai.github.io/neuralspotx/modules/nsx-soc-hal/)
- [`nsx-interrupt`](https://ambiqai.github.io/neuralspotx/modules/nsx-interrupt/)

## Compatibility

:::note[How compatibility is declared]
The boards, SoCs and toolchains listed here are the ones the module manifest declares.
That is the module author's statement of intent, not evidence from hardware. Confirm on your
own target before you depend on it.
:::

| Kind | Declared |
| --- | --- |
| Boards | * |
| SoCs | apollo330P, apollo510, apollo510b, apollo510L, atomiq110, apollo4l, apollo4p, apollo3, apollo3p |
| Toolchains | arm-none-eabi-gcc, atfe, armclang |

## Agent keywords

`gpio`, `pin`, `digital`, `interrupt`, `edge`

## Source

| Field | Value |
| --- | --- |
| Type | Library / service |
| Version | 5.2.33 |
| Project | nsx-ambiq-sdk |
| Revision | `v5.2.33` |
| Manifest | `modules/nsx-gpio/nsx-module.yaml` |
| Repository | [nsx-ambiq-sdk](https://github.com/AmbiqAI/nsx-ambiq-sdk/tree/v5.2.33) |

Back to the [module catalog](https://ambiqai.github.io/neuralspotx/modules/catalog/).
