[riot-notifications] [RIOT-OS/RIOT] sys/entropy_source: add new module for entropy sources (#14324)

Leandro Lanzieri notifications at github.com
Wed Nov 25 12:35:22 CET 2020


@leandrolanzieri commented on this pull request.



> +endchoice
+
+config ENTROPY_SOURCE_ADC_LINE_NUM
+    int "ADC line"
+    range 0 16
+    default 0
+    help
+        The ADC line maps to an I/O pin. This number acts as index to an array
+        of predefined ADC devices that contain the pin definition. Typically,
+        the array is defined by a board in a periph_conf.h file. Please note that
+        a board is not required to specify a minimum number of lines.
+
+config ENTROPY_SOURCE_ADC_HMIN
+    int "Estimated entropy per sample [2^16 * bit/sample]"
+    range 1 524288
+    default 65536

This needs to be changed in the header file as well, maybe there even a warning could be added when the default value is used?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/14324#discussion_r530306972
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201125/b44434d5/attachment.htm>


More information about the notifications mailing list