spi_slave_hd: add segment mode example

This commit is contained in:
Armando
2021-04-16 21:33:36 +08:00
parent 44fafd4991
commit 6930d6aa1e
12 changed files with 746 additions and 0 deletions
@@ -108,6 +108,13 @@ Receiving General Purpose Interrupts From the Master
When the master sends CMD 0x08, 0x09 or 0x0A, the slave corresponding will be triggered. Currently the CMD8 is permanently used to indicate the termination of RDDMA segments. To receiving general purpose interrupts, register callbacks for CMD 0x09 and 0x0A when the slave is initialized, see :ref:`spi_slave_hd_callbacks`.
Application Example
-------------------
The code example for Device/Host communication can be found in the :example:`peripherals/spi_slave_hd` directory of ESP-IDF examples.
API reference
-------------