|
PebbleOS v4.43.0-47-g70dbc56d2
|
Data Structures | |
| struct | pbl_pinctrl_controller_ops |
| Pin controller driver operations. More... | |
| struct | pbl_pinctrl_controller |
| A pin controller. More... | |
| struct | pbl_pinctrl_state |
| A pin state. More... | |
| struct | pbl_pinctrl |
| Pin states of a peripheral, as used by a consumer. More... | |
Macros | |
| #define | PBL_PINCTRL_CONTROLLER_INIT(sym, _name, _ops, _num_pads) |
Initializer for the struct pbl_pinctrl_controller of controller sym. | |
| #define | PBL_PINCTRL_STATE_DEFINE(sym, _ctrl, ...) |
| Define a pin state. | |
| #define | PBL_PINCTRL(_default, _sleep, _reg) |
| Initializer for a struct pbl_pinctrl. | |
Enumerations | |
| enum | pbl_pinctrl_state_id { PBL_PINCTRL_STATE_DEFAULT , PBL_PINCTRL_STATE_SLEEP } |
| State identifiers. More... | |
Functions | |
| int | pbl_pinctrl_select_state (const struct pbl_pinctrl *pinctrl, enum pbl_pinctrl_state_id id) |
| Configure the pins of a state. | |
Variables | |
| const struct pbl_device_class | pbl_pinctrl_class |
| Class of the pin controllers. | |