nrfxlib API 2.7.99
Loading...
Searching...
No Matches
sdc_soc.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7
20#ifndef SDC_SOC_H__
21#define SDC_SOC_H__
22
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28
29#include <stdint.h>
30#include <stdbool.h>
31#include "nrf_errno.h"
32
39typedef struct
40{
48 void (*rand_poll)(uint8_t *p_buff, uint8_t length);
50
59int32_t sdc_rand_source_register(const sdc_rand_source_t *rand_source);
60
61
62#ifdef __cplusplus
63}
64#endif
65
68#endif /* SDC_SOC_H__ */
int32_t sdc_rand_source_register(const sdc_rand_source_t *rand_source)
Pass a source of randomness to the SoftDevice Controller.
Functions used by the SoftDevice Controller to obtain random numbers.
Definition: sdc_soc.h:40