|
PebbleOS
|
GPIO ports of the SF32LB SoCs. More...
Data Structures | |
| struct | pbl_gpio_sf32lb |
| SF32LB GPIO port. More... | |
Macros | |
| #define | SF32LB_GPIO1 (&pbl_gpio_sf32lb_gpio1.port) |
| Port GPIO1 (PA). | |
Functions | |
| static GPIO_TypeDef * | pbl_gpio_sf32lb_regs (const struct pbl_gpio *gpio) |
| Registers of the port a pin is on, for HAL calls. | |
GPIO ports of the SF32LB SoCs.
| struct pbl_gpio_sf32lb |
SF32LB GPIO port.
| Data Fields | ||
|---|---|---|
| pin_function | func_base | GPIO pin function of pin 0. |
| int | pad_base | Pad of pin 0. |
| struct pbl_gpio_port | port | GPIO port. |
| GPIO_TypeDef * | regs | Registers. |
| #define SF32LB_GPIO1 (&pbl_gpio_sf32lb_gpio1.port) |
Port GPIO1 (PA).
|
inlinestatic |
Registers of the port a pin is on, for HAL calls.
| gpio | Pin on an SF32LB port. |
References container_of, pbl_gpio::port, pbl_gpio_sf32lb::port, and pbl_gpio_sf32lb::regs.