|
PebbleOS v4.47.0-1312-gf1984a001
|
A GPIO controller. More...
#include <gpio.h>
Data Fields | |
| struct pbl_device | dev |
| Device. | |
| const struct pbl_gpio_port_ops * | ops |
| Driver operations. | |
| uint8_t | num_pins |
| Number of pins. | |
| const struct pbl_intc * | intc |
| Interrupt controller of the pins, NULL if the port cannot interrupt. | |
| int(* | init )(const struct pbl_device *dev) |
| Driver init function, or NULL, called before the hogs are configured. | |
A GPIO controller.
| struct pbl_device pbl_gpio_port::dev |
Device.
| int(* pbl_gpio_port::init) (const struct pbl_device *dev) |
Driver init function, or NULL, called before the hogs are configured.
| const struct pbl_intc* pbl_gpio_port::intc |
Interrupt controller of the pins, NULL if the port cannot interrupt.
| uint8_t pbl_gpio_port::num_pins |
Number of pins.
| const struct pbl_gpio_port_ops* pbl_gpio_port::ops |
Driver operations.
Referenced by pbl_gpio_can_sleep().