Marco Zecchini
/
Example_RTOS
Rtos API example
Embed:
(wiki syntax)
Show/hide line numbers
arm_hal_random.h
00001 /* 00002 * Copyright (c) 2014-2015 ARM Limited. All rights reserved. 00003 * SPDX-License-Identifier: Apache-2.0 00004 * Licensed under the Apache License, Version 2.0 (the License); you may 00005 * not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an AS IS BASIS, WITHOUT 00012 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 00017 #ifndef ARM_HAL_RANDOM_H_ 00018 #define ARM_HAL_RANDOM_H_ 00019 #ifdef __cplusplus 00020 extern "C" { 00021 #endif 00022 /** 00023 * \brief This function performs Random number driver init. 00024 */ 00025 extern void arm_random_module_init(void); 00026 /** 00027 * \brief Get random library seed value. 00028 * 00029 * This function should return as random a value as possible, using 00030 * hardware sources. Repeated calls should return different values if 00031 * at all possible. 00032 */ 00033 extern uint32_t arm_random_seed_get(void); 00034 #ifdef __cplusplus 00035 } 00036 #endif 00037 #endif /* ARM_HAL_RANDOM_H_ */
Generated on Sun Jul 17 2022 08:25:19 by 1.7.2