Skip to content

Commit b985624

Browse files
committed
doc: reference: Add ec host command api hooks
Adds missing hooks to include the ec host command api in the generated documentation. Signed-off-by: Maureen Helm <[email protected]>
1 parent 0962b30 commit b985624

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.. _ec_host_cmd_periph_api:
2+
3+
EC Host Command
4+
###############
5+
6+
Overview
7+
********
8+
9+
10+
API Reference
11+
*************
12+
13+
.. doxygengroup:: ec_host_cmd_periph_interface
14+
:project: Zephyr

doc/reference/peripherals/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Peripherals
1111
clock_control.rst
1212
dac.rst
1313
dma.rst
14+
ec_host_cmd_periph.rst
1415
eeprom.rst
1516
entropy.rst
1617
flash.rst

include/ec_host_cmd.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77
#ifndef ZEPHYR_INCLUDE_EC_HOST_CMD_H_
88
#define ZEPHYR_INCLUDE_EC_HOST_CMD_H_
99

10+
/**
11+
* @brief EC Host Command Interface
12+
* @defgroup ec_host_cmd_periph_interface EC Host Command Interface
13+
* @ingroup io_interfaces
14+
* @{
15+
*/
16+
1017
#include <stdint.h>
1118

1219
/**
@@ -194,4 +201,8 @@ enum ec_host_cmd_status {
194201
} __packed;
195202
BUILD_ASSERT(sizeof(enum ec_host_cmd_status) == sizeof(uint16_t));
196203

204+
/**
205+
* @}
206+
*/
207+
197208
#endif /* ZEPHYR_INCLUDE_EC_HOST_CMD_H_ */

0 commit comments

Comments
 (0)