zephyr/samples/drivers/peci
Daniel Leung cf23bac815 samples: drivers: rename shadow variables
Rename shadow variables found by -Wshadow.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-08-22 11:39:58 +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
prj.conf drivers: peci: microchip: Enabled low power mode 2023-04-07 13:30:40 +02:00
README.rst
sample.yaml samples: drivers: peci: Exclude MEC172x EVB from test 2023-06-07 13:57:16 -04:00

.. _peci-sample:

PECI Interface
####################################

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.