Smart Remote 3 nRF52 v1.2
Copy URL
Source
Common
rng_monitor.h
1
/*$$$LICENCE_NORDIC_STANDARD<2017>$$$*/
2
3
#ifndef __RNG_MONITOR_H__
4
#define __RNG_MONITOR_H__
5
6
#include <stdbool.h>
7
#include <stdint.h>
8
9
#include "nrf.h"
10
#include "sdk_errors.h"
11
23
typedef
void (*
rng_monitor_notification_handler_t
)(
void
*p_context);
24
31
ret_code_t
rng_monitor_init
(
void
);
32
41
ret_code_t
rng_monitor_request
(uint8_t random_bytes_requested,
42
rng_monitor_notification_handler_t
notification_handler,
43
void
*p_notification_context);
48
#endif
/* __RNG_MONITOR_H__ */