|
PebbleOS v4.47.0-1075-g013613c8a
|
#include <stdint.h>#include <pbl/drivers/gpio.h>#include <pbl/drivers/intc.h>#include <pbl/util/misc.h>Data Structures | |
| struct | pbl_gpio_nrf5 |
| nRF5 GPIO port. More... | |
Macros | |
| #define | PBL_GPIO_NRF5_DEFINE(sym, _name, _base, _gpiote, _num_pins) |
| Define an nRF5 GPIO port and its interrupt controller, sym_intc. | |
Functions | |
| static uint32_t | pbl_gpio_nrf5_pin (const struct pbl_gpio *gpio) |
| Absolute pin number of a pin, as nrfx takes it. | |
| int | pbl_gpio_nrf5_gpiote_alloc (uint8_t *channel) |
| Allocate a GPIOTE channel for use outside of the interrupt controllers. | |