zephyr/samples/drivers/peci
Benjamin Cabé f6a4217a88 doc: driver: samples: Update driver samples to use new Sphinx extension
Migrated existing driver samples to use the new code-sample directive
and role.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-09-22 09:21:43 +02:00
..
boards drivers: peci: microchip: Enabled low power mode 2023-04-07 13:30:40 +02:00
src samples: drivers: rename shadow variables 2023-08-22 11:39:58 +02:00
CMakeLists.txt cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
prj.conf drivers: peci: microchip: Enabled low power mode 2023-04-07 13:30:40 +02:00
README.rst doc: driver: samples: Update driver samples to use new Sphinx extension 2023-09-22 09:21:43 +02:00
sample.yaml samples: drivers: peci: Exclude MEC172x EVB from test 2023-06-07 13:57:16 -04:00

.. zephyr:code-sample:: peci
   :name: PECI interface
   :relevant-api: peci_interface

   Monitor CPU temperature using PECI.

Overview
********

This sample demonstrates how to use the :ref:`PECI API <peci_api>`.
Callbacks are registered that will write to the console indicating PECI events.
These events indicate PECI host interaction.

Building and Running
********************

The sample can be built and executed on boards supporting PECI.
Please connect ensure the microcontroller used is connected to a PECI Host
in order to execute.

Sample output
=============

.. code-block:: console

   PECI test
   Note: You are expected to see several interactions including ID and
   temperature retrieval.