|
PebbleOS
|
GPIO ports of the nRF5 SoCs. More...
Data Structures | |
| struct | pbl_gpio_nrf5 |
| nRF5 GPIO port. More... | |
Macros | |
| #define | NRF5_GPIO_P0 (&pbl_gpio_nrf5_p0.port) |
| Port P0. | |
| #define | NRF5_GPIO_P1 (&pbl_gpio_nrf5_p1.port) |
| Port P1. | |
Functions | |
| static uint32_t | pbl_gpio_nrf5_pin (const struct pbl_gpio *gpio) |
| Absolute pin number of a pin, as nrfx takes it. | |
GPIO ports of the nRF5 SoCs.
| struct pbl_gpio_nrf5 |
nRF5 GPIO port.
| Data Fields | ||
|---|---|---|
| uint8_t | index | Port index. |
| struct pbl_gpio_port | port | GPIO port. |
| #define NRF5_GPIO_P0 (&pbl_gpio_nrf5_p0.port) |
Port P0.
| #define NRF5_GPIO_P1 (&pbl_gpio_nrf5_p1.port) |
Port P1.
|
inlinestatic |
Absolute pin number of a pin, as nrfx takes it.
| gpio | Pin on an nRF5 port. |
References container_of, pbl_gpio::pin, pbl_gpio::port, and pbl_gpio_nrf5::port.