|
PebbleOS v4.47.0-1362-gd278268fe
|
Interface for HyperBus controller drivers. More...
Data Structures | |
| struct | pbl_hyperbus_ops |
| Driver operations. More... | |
Macros | |
| #define | PBL_HYPERBUS_INIT(sym, _name, _parent, _ops) |
Initializer for the struct pbl_hyperbus of controller sym. | |
Interface for HyperBus controller drivers.
A driver embeds a struct pbl_hyperbus in its instance, sets it up with PBL_HYPERBUS_INIT(), and implements the struct pbl_hyperbus_ops the class calls.
| #define PBL_HYPERBUS_INIT | ( | sym, | |
| _name, | |||
| _parent, | |||
| _ops | |||
| ) |
Initializer for the struct pbl_hyperbus of controller sym.
| sym | Symbol of the controller instance, with its state defined by PBL_DEVICE_STATE_DEFINE(). |
| _name | Name. |
| _parent | Parent device, or NULL. |
| _ops | Driver operations. |