00001 /* Copyright (c) 2009 Nordic Semiconductor. All Rights Reserved. 00002 * 00003 * The information contained herein is confidential property of Nordic 00004 * Semiconductor ASA.Terms and conditions of usage are described in detail 00005 * in NORDIC SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. 00006 * 00007 * Licensees are granted free, non-transferable use of the information. NO 00008 * WARRENTY of ANY KIND is provided. This heading must NOT be removed from 00009 * the file. 00010 * 00011 * $LastChangedRevision: 165 $ 00012 */ 00013 00030 #ifndef HAL_RNG_H__ 00031 #define HAL_RNG_H__ 00032 00033 #include <stdint.h> 00034 #include <stdbool.h> 00035 00042 void hal_rng_power_up(bool pwr_up); 00043 00049 void hal_rng_bias_corr_enable(bool en); 00050 00056 uint8_t hal_rng_read(void); 00057 00065 bool hal_rng_data_ready(void); 00066 00067 #endif // HAL_RNG_H__ 00068