@@ -37,6 +37,7 @@ enum espi_io_mode {
37
37
};
38
38
39
39
/**
40
+ * @code
40
41
*+----------------------------------------------------------------------+
41
42
*| |
42
43
*| eSPI host +-------------+ |
@@ -82,7 +83,7 @@ enum espi_io_mode {
82
83
*| CH0 | CH1 | CH2 | CH3 |
83
84
*| eSPI endpoint | VWIRE | OOB | Flash |
84
85
*+-----------------------------------------------------------------------+
85
- *
86
+ * @endcode
86
87
*/
87
88
88
89
/**
@@ -480,6 +481,7 @@ __subsystem struct espi_driver_api {
480
481
* will be used by eSPI master to determine minimum common capabilities with
481
482
* eSPI slave then send via SET_CONFIGURATION command.
482
483
*
484
+ * @code
483
485
* +--------+ +---------+ +------+ +---------+ +---------+
484
486
* | eSPI | | eSPI | | eSPI | | eSPI | | eSPI |
485
487
* | slave | | driver | | bus | | driver | | host |
@@ -503,6 +505,7 @@ __subsystem struct espi_driver_api {
503
505
* | | | accept | |
504
506
* | | +------------------>+ |
505
507
* + + + + +
508
+ * @endcode
506
509
*
507
510
* @param dev Pointer to the device structure for the driver instance.
508
511
* @param cfg the device runtime configuration for the eSPI controller.
@@ -871,6 +874,7 @@ static inline int z_impl_espi_flash_erase(const struct device *dev,
871
874
/**
872
875
* Callback model
873
876
*
877
+ * @code
874
878
*+-------+ +-------------+ +------+ +---------+
875
879
*| App | | eSPI driver | | HW | |eSPI Host|
876
880
*+---+---+ +-------+-----+ +---+--+ +----+----+
@@ -926,6 +930,7 @@ static inline int z_impl_espi_flash_erase(const struct device *dev,
926
930
* <------------------------------+ | |
927
931
* | App executes | | |
928
932
* + power mgmt policy | | |
933
+ * @endcode
929
934
*/
930
935
931
936
/**
0 commit comments