nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
PPI Sequencer for I2C/SPI

Zephyr device for triggering periodic I2C/SPI transfers. More...

Data Structures

union  ppi_seq_i2c_spi_xfer_desc
 Generic transfer descriptor. More...
 
struct  ppi_seq_i2c_spi_batch
 Data passed to the callback on the batch completion. More...
 
struct  ppi_seq_i2c_spi_job
 I2C/SPI PPI Sequencer job description. More...
 

Typedefs

typedef void(* ppi_seq_i2c_spi_cb_t) (const struct device *dev, struct ppi_seq_i2c_spi_batch *batch, bool last, void *user_data)
 Callback called on batch completion.
 

Functions

int ppi_seq_i2c_spi_start (const struct device *dev, size_t period, struct ppi_seq_i2c_spi_job *job)
 Start the I2C/SPI PPI sequencer.
 
int ppi_seq_i2c_spi_stop (const struct device *dev, bool immediate)
 Stop the I2C/SPI PPI sequencer.
 
int ppi_seq_i2c_spi_xfer (const struct device *dev, union ppi_seq_i2c_spi_xfer_desc *desc)
 Perform a single synchronous transfer.
 

Detailed Description

Zephyr device for triggering periodic I2C/SPI transfers.