@@ -29,6 +29,7 @@ extern "C" {
29
29
30
30
31
31
/**
32
+ * @code
32
33
*+----------------------------------------------------------------------+
33
34
*| |
34
35
*| eSPI host +-------------+ |
@@ -80,6 +81,7 @@ extern "C" {
80
81
* | Flash | Slave Attached Flash |
81
82
* +---------+ |
82
83
* |
84
+ * @endcode
83
85
*/
84
86
85
87
@@ -177,6 +179,7 @@ __subsystem struct espi_saf_driver_api {
177
179
* will be used by eSPI master to determine minimum common capabilities with
178
180
* eSPI slave then send via SET_CONFIGURATION command.
179
181
*
182
+ * @code
180
183
* +--------+ +---------+ +------+ +---------+ +---------+
181
184
* | eSPI | | eSPI | | eSPI | | eSPI | | eSPI |
182
185
* | slave | | driver | | bus | | driver | | host |
@@ -200,6 +203,7 @@ __subsystem struct espi_saf_driver_api {
200
203
* | | | accept | |
201
204
* | | +------------------>+ |
202
205
* + + + + +
206
+ * @endcode
203
207
*
204
208
* @param dev Pointer to the device structure for the driver instance.
205
209
* @param cfg the device runtime configuration for the eSPI controller.
@@ -382,6 +386,7 @@ static inline int z_impl_espi_saf_flash_erase(const struct device *dev,
382
386
/**
383
387
* Callback model
384
388
*
389
+ * @code
385
390
*+-------+ +-------------+ +------+ +---------+
386
391
*| App | | eSPI driver | | HW | |eSPI Host|
387
392
*+---+---+ +-------+-----+ +---+--+ +----+----+
@@ -437,6 +442,7 @@ static inline int z_impl_espi_saf_flash_erase(const struct device *dev,
437
442
* <------------------------------+ | |
438
443
* | App executes | | |
439
444
* + power mgmt policy | | |
445
+ * @endcode
440
446
*/
441
447
442
448
/**
0 commit comments