Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
entropy_driver_api Struct Reference

Driver Operations Entropy driver operations More...

#include <zephyr/drivers/entropy.h>

Data Fields

entropy_get_entropy_t get_entropy
  REQ Fills a buffer with entropy.
entropy_get_entropy_isr_t get_entropy_isr
  OPT Fills a buffer with entropy in a non-blocking or busy-wait manner.

Detailed Description

Driver Operations Entropy driver operations

This is the driver API structure any Entropy driver needs to define. It contains function pointers to the operations the driver implements, as well as any other driver-specific constant data.

Members marked with REQ MUST be set by the driver, whereas those marked with OPT are optional.

See also
DEVICE_DT_INST_DEFINE()
DEVICE_DT_DEFINE()
DEVICE_API()

Field Documentation

◆ get_entropy

entropy_get_entropy_t entropy_driver_api::get_entropy

REQ Fills a buffer with entropy.

◆ get_entropy_isr

entropy_get_entropy_isr_t entropy_driver_api::get_entropy_isr

OPT Fills a buffer with entropy in a non-blocking or busy-wait manner.


The documentation for this struct was generated from the following file: