STM32H735xx HAL User Manual
|
Header file of RNG HAL Extension module. More...
#include "stm32h7xx_hal_def.h"
Go to the source code of this file.
Data Structures | |
struct | RNG_ConfigTypeDef |
RNG_Ex Configuration Structure definition. More... | |
Defines | |
#define | RNG_CLKDIV_BY_1 (0x00000000UL) |
#define | RNG_CLKDIV_BY_2 (RNG_CR_CLKDIV_0) |
#define | RNG_CLKDIV_BY_4 (RNG_CR_CLKDIV_1) |
#define | RNG_CLKDIV_BY_8 (RNG_CR_CLKDIV_1 | RNG_CR_CLKDIV_0) |
#define | RNG_CLKDIV_BY_16 (RNG_CR_CLKDIV_2) |
#define | RNG_CLKDIV_BY_32 (RNG_CR_CLKDIV_2 | RNG_CR_CLKDIV_0) |
#define | RNG_CLKDIV_BY_64 (RNG_CR_CLKDIV_2 | RNG_CR_CLKDIV_1) |
#define | RNG_CLKDIV_BY_128 (RNG_CR_CLKDIV_2 | RNG_CR_CLKDIV_1 | RNG_CR_CLKDIV_0) |
#define | RNG_CLKDIV_BY_256 (RNG_CR_CLKDIV_3) |
#define | RNG_CLKDIV_BY_512 (RNG_CR_CLKDIV_3 | RNG_CR_CLKDIV_0) |
#define | RNG_CLKDIV_BY_1024 (RNG_CR_CLKDIV_3 | RNG_CR_CLKDIV_1) |
#define | RNG_CLKDIV_BY_2048 (RNG_CR_CLKDIV_3 | RNG_CR_CLKDIV_1 | RNG_CR_CLKDIV_0) |
#define | RNG_CLKDIV_BY_4096 (RNG_CR_CLKDIV_3 | RNG_CR_CLKDIV_2) |
#define | RNG_CLKDIV_BY_8192 (RNG_CR_CLKDIV_3 | RNG_CR_CLKDIV_2 | RNG_CR_CLKDIV_0) |
#define | RNG_CLKDIV_BY_16384 (RNG_CR_CLKDIV_3 | RNG_CR_CLKDIV_2 | RNG_CR_CLKDIV_1) |
#define | RNG_CLKDIV_BY_32768 (RNG_CR_CLKDIV_3 | RNG_CR_CLKDIV_2 | RNG_CR_CLKDIV_1 | RNG_CR_CLKDIV_0) |
#define | RNG_NIST_COMPLIANT (0x00000000UL) |
#define | RNG_CUSTOM_NIST (RNG_CR_NISTC) |
#define | IS_RNG_CLOCK_DIVIDER(__CLOCK_DIV__) |
#define | IS_RNG_NIST_COMPLIANCE(__NIST_COMPLIANCE__) |
#define | IS_RNG_CONFIG1(__CONFIG1__) ((__CONFIG1__) <= 0x3FUL) |
#define | IS_RNG_CONFIG2(__CONFIG2__) ((__CONFIG2__) <= 0x07UL) |
#define | IS_RNG_CONFIG3(__CONFIG3__) ((__CONFIG3__) <= 0xFUL) |
Functions | |
HAL_StatusTypeDef | HAL_RNGEx_SetConfig (RNG_HandleTypeDef *hrng, RNG_ConfigTypeDef *pConf) |
Configure the RNG with the specified parameters in the RNG_ConfigTypeDef. | |
HAL_StatusTypeDef | HAL_RNGEx_GetConfig (RNG_HandleTypeDef *hrng, RNG_ConfigTypeDef *pConf) |
Get the RNG Configuration and fill parameters in the RNG_ConfigTypeDef. | |
HAL_StatusTypeDef | HAL_RNGEx_LockConfig (RNG_HandleTypeDef *hrng) |
RNG current configuration lock. | |
HAL_StatusTypeDef | HAL_RNGEx_RecoverSeedError (RNG_HandleTypeDef *hrng) |
RNG sequence to recover from a seed error. |
Header file of RNG HAL Extension module.
Copyright (c) 2017 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file stm32h7xx_hal_rng_ex.h.