![]() |
nRF Connect SDK API 3.3.99
|
Module for autonomously triggering periodic tasks. More...
Topics | |
| PPI Sequencer for I2C/SPI | |
| Zephyr device for triggering periodic I2C/SPI transfers. | |
Data Structures | |
| struct | ppi_seq |
| PPI sequencer structure. More... | |
| struct | ppi_seq_notifier_sys_timer |
| System timer notifier structure. Low power and less resources. More... | |
| struct | ppi_seq_notifier_nrfx_timer |
| nrfx_timer notifier structure. Useful for short periods. More... | |
| struct | ppi_seq_notifier |
| Notifier structure. More... | |
| struct | ppi_seq_extra_op |
| Operation descriptor. More... | |
| struct | ppi_seq_config |
| Sequencer configuration structure. More... | |
Macros | |
| #define | CONFIG_PPI_SEQ_MAX_PPI_HANDLES 8 |
Typedefs | |
| typedef void(* | ppi_seq_cb_t) (struct ppi_seq *ppi_seq, bool last) |
| Callback called after completion of each cycle. | |
Enumerations | |
| enum | ppi_seq_notifier_type { PPI_SEQ_NOTIFIER_SYS_TIMER , PPI_SEQ_NOTIFIER_NRFX_TIMER } |
| Type of notifier used for the requested number of sequences completion. More... | |
Functions | |
| int | ppi_seq_init (struct ppi_seq *seq, const struct ppi_seq_config *config) |
| Initialize the sequencer. | |
| void | ppi_seq_uninit (struct ppi_seq *seq) |
| Uninitialize the sequencer. | |
| int | ppi_seq_start (struct ppi_seq *seq, size_t period, size_t batch_cnt, int repeat) |
| Start the sequencer. | |
| int | ppi_seq_stop (struct ppi_seq *seq, bool immediate) |
| Stop the sequencer. | |
| void | ppi_seq_rtc_irq_handler (struct ppi_seq *seq) |
| RTC interrupt handler. | |
Module for autonomously triggering periodic tasks.