1 /* 2 * Copyright (c) 2017 Oticon A/S 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 #ifndef _NRF_HW_MODEL_RNG_H 7 #define _NRF_HW_MODEL_RNG_H 8 9 #include "nrfx.h" 10 11 #ifdef __cplusplus 12 extern "C"{ 13 #endif 14 15 void nrf_rng_init(); 16 void nrf_rng_clean_up(); 17 void nrf_rng_regw_sideeffects(); 18 void nrf_rng_regw_sideeffects_TASK_START(); 19 void nrf_rng_regw_sideeffects_TASK_STOP(); 20 void nrf_rng_regw_sideeffects_INTENSET(); 21 void nrf_rng_regw_sideeffects_INTENCLEAR(); 22 void nrf_rng_timer_triggered(); 23 void nrf_rng_task_start(); 24 void nrf_rng_task_stop(); 25 26 extern NRF_RNG_Type NRF_RNG_regs; 27 28 #ifdef __cplusplus 29 } 30 #endif 31 32 #endif 33