STM32G474xx HAL 用户手册
定义
RNG 错误定义
RNG 导出的常量

定义

#define HAL_RNG_ERROR_NONE   0x00000000U
#define HAL_RNG_ERROR_INVALID_CALLBACK   0x00000001U
#define HAL_RNG_ERROR_TIMEOUT   0x00000002U
#define HAL_RNG_ERROR_BUSY   0x00000004U
#define HAL_RNG_ERROR_SEED   0x00000008U
#define HAL_RNG_ERROR_CLOCK   0x00000010U

定义文档

#define HAL_RNG_ERROR_BUSY   0x00000004U

忙碌错误

定义于文件 178 行的 stm32g4xx_hal_rng.h 中。

HAL_RNG_GenerateRandomNumber()HAL_RNG_GenerateRandomNumber_IT() 引用。

#define HAL_RNG_ERROR_CLOCK   0x00000010U

时钟错误

定义于文件 180 行的 stm32g4xx_hal_rng.h 中。

HAL_RNG_IRQHandler() 引用。

#define HAL_RNG_ERROR_INVALID_CALLBACK   0x00000001U
#define HAL_RNG_ERROR_NONE   0x00000000U

无错误

定义于文件 173 行的 stm32g4xx_hal_rng.h 中。

HAL_RNG_DeInit()HAL_RNG_Init() 引用。

#define HAL_RNG_ERROR_SEED   0x00000008U

种子错误

定义于文件 179 行的 stm32g4xx_hal_rng.h 中。

HAL_RNG_IRQHandler() 引用。

#define HAL_RNG_ERROR_TIMEOUT   0x00000002U

超时错误

定义于文件 177 行的 stm32g4xx_hal_rng.h 中。

HAL_RNG_GenerateRandomNumber() 引用。