zephyr/samples/drivers/entropy
Kumar Gala a1b77fd589 zephyr: replace zephyr integer types with C99 types
git grep -l 'u\(8\|16\|32\|64\)_t' | \
		xargs sed -i "s/u\(8\|16\|32\|64\)_t/uint\1_t/g"
	git grep -l 's\(8\|16\|32\|64\)_t' | \
		xargs sed -i "s/s\(8\|16\|32\|64\)_t/int\1_t/g"

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-06-08 08:23:57 -05:00
..
src zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
CMakeLists.txt samples: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
prj.conf drivers: Rename random to entropy 2017-11-01 08:26:29 -04:00
README.rst samples: drivers: entropy: Change readme to rst format 2020-05-15 17:18:56 +02:00
sample.yaml samples: drivers/entropy yaml regex fix 2020-04-03 08:00:38 -04:00

.. _entropy_sample:

Entropy
#######

Overview
********
Sample for the entropy gathering driver

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

This project writes an infinite series of random numbers to the
console, 9 per second.

It can be built and executed on frdm_k64f as follows:

.. zephyr-app-commands::
   :zephyr-app: samples/drivers/entropy
   :host-os: unix
   :board: frdm_k64f
   :goals: run
   :compact:

Sample Output
=============

.. code-block:: console

   Entropy Example! arm
   entropy device is 0x2000008c, name is ENTROPY_0
     0xd7  0x42  0xb0  0x7b  0x56  0x3b  0xc3  0x43  0x8a  0xa3
     0xfa  0xec  0xd8  0xc3  0x36  0xf8  0x7b  0x82  0x2b  0x39