|
PebbleOS v4.47.0-1362-gd278268fe
|
#include <stdbool.h>#include <stddef.h>#include <stdint.h>#include <pbl/device.h>#include <pbl/drivers/spi_mem.h>Data Structures | |
| struct | pbl_spi_mem_ops |
| Controller driver operations. More... | |
Macros | |
| #define | PBL_SPI_MEM_STATE_DEFINE(sym) |
Define the class state of controller sym, for the PBL_SPI_MEM_*_DEFINE() macro of a driver. | |
| #define | PBL_SPI_MEM_INIT(sym, _name, _parent, _ops, _flags) |
Initializer for the struct pbl_spi_mem of controller sym. | |
Functions | |
| static bool | pbl_spi_mem_is_polling (const struct pbl_spi_mem *mem) |
| Check whether the controller polls for completion, for drivers. | |