PebbleOS v4.47.0-1075-g013613c8a
Loading...
Searching...
No Matches
spi.h File Reference
#include <stdint.h>
#include <pbl/drivers/spi.h>
#include <pbl/drivers/spi_mem.h>
#include <pbl/kernel/mutex.h>

Data Structures

struct  pbl_spi_mem_spi
 SPI memory on a SPI bus. More...
 

Macros

#define PBL_SPI_MEM_SPI_BUF_SIZE   256U
 Largest data phase, and the size of the buffer data to write goes through.
 
#define PBL_SPI_MEM_SPI_DEFINE(sym, _name, _bus, _cs, _max_hz)
 Define a SPI memory on a SPI bus.