---
title: "GPIO"
canonical_url: https://developer.repebble.com/pebbleos/docs/drivers/gpio/
last_updated: 2026-11-24
sdk_version: 4.44
---
# GPIO

Source: https://developer.repebble.com/pebbleos/docs/drivers/gpio/

A GPIO port is an SoC port or a peripheral with GPIOs on it. A pin carries its wiring flags (polarity, pulls, open drain), so callers deal in logical levels. GPIO ports also provide interrupt lines, through the [interrupt controller](https://developer.repebble.com/pebbleos/docs/drivers/intc.md) class.

| 

 | 

 |
| --- | --- |
| 

Directory

 | 

`drivers/gpio`

 |
| 

Header

 | 

`pbl/drivers/gpio.h`

 |
| 

Kconfig

 | 

`CONFIG_GPIO`, selected by the drivers and code that use it

 |
| 

API

 | 

[API reference](https://developer.repebble.com/pebbleos/apidoc/d6/d39/group __drivers__ gpio.html)

 |

## Drivers

| 

Driver

 | 

Compatible

 | 

Kconfig

 |
| --- | --- | --- |
| 

Nordic nRF5

 | 

`nordic,nrf52832-gpio`

 | 

`CONFIG_GPIO_NRF5`

 |
| 

SiFli SF32LB

 | 

`sifli,sf32lb57-gpio`, `sifli,sf32lb52-gpio`

 | 

`CONFIG_GPIO_SF32LB`

 |
| 

ST STM32

 | 

`st,stm32h743-pinctrl`

 | 

`CONFIG_GPIO_STM32`

 |
| 

QEMU GPIO

 | 

`qemu,pebble-gpio`

 | 

`CONFIG_GPIO_QEMU`

 |
| 

Nordic nPM1300 GPIO

 | 

`nordic,npm1300`

 | 

`CONFIG_GPIO_NPM1300`

 |

Generated from PebbleOS [12b6c531f](https://github.com/coredevices/pebbleos/commit/12b6c531f9e0c2f39fe4e9bb2886314697128f08). This page is maintained in the pebbleos repository: [docs/drivers/gpio.md](https://github.com/coredevices/pebbleos/blob/12b6c531f9e0c2f39fe4e9bb2886314697128f08/docs/drivers/gpio.md).
