Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Entropy Driver Backend API

Data Structures

struct  entropy_driver_api
  Driver Operations Entropy driver operations More...

Typedefs

typedef int(* entropy_get_entropy_t) (const struct device *dev, uint8_t *buffer, uint16_t length)
 Callback API to get entropy.
typedef int(* entropy_get_entropy_isr_t) (const struct device *dev, uint8_t *buffer, uint16_t length, uint32_t flags)
 Callback API to get entropy from an ISR.

Detailed Description

This group contains the API type definitions, callback signatures, and other helpers required to implement a Entropy driver.

Typedef Documentation

◆ entropy_get_entropy_isr_t

typedef int(* entropy_get_entropy_isr_t) (const struct device *dev, uint8_t *buffer, uint16_t length, uint32_t flags)

#include <zephyr/drivers/entropy.h>

Callback API to get entropy from an ISR.

See entropy_get_entropy_isr() for argument description

◆ entropy_get_entropy_t

typedef int(* entropy_get_entropy_t) (const struct device *dev, uint8_t *buffer, uint16_t length)

#include <zephyr/drivers/entropy.h>

Callback API to get entropy.

Note
This call has to be thread safe to satisfy requirements of the random subsystem.

See entropy_get_entropy() for argument description