1.. zephyr:code-sample:: peci
2   :name: PECI interface
3   :relevant-api: peci_interface
4
5   Monitor CPU temperature using PECI.
6
7Overview
8********
9
10This sample demonstrates how to use the :ref:`PECI API <peci_api>`.
11Callbacks are registered that will write to the console indicating PECI events.
12These events indicate PECI host interaction.
13
14Building and Running
15********************
16
17The sample can be built and executed on boards supporting PECI.
18Please connect ensure the microcontroller used is connected to a PECI Host
19in order to execute.
20
21Sample output
22=============
23
24.. code-block:: console
25
26   PECI test
27   Note: You are expected to see several interactions including ID and
28   temperature retrieval.
29