|
STM32G474xx HAL 用户手册
|
函数 | |
| ErrorStatus | LL_RNG_DeInit (const RNG_TypeDef *RNGx) |
| 反初始化 RNG 寄存器(将寄存器恢复为默认值)。 | |
| ErrorStatus | LL_RNG_Init (RNG_TypeDef *RNGx, const LL_RNG_InitTypeDef *RNG_InitStruct) |
| 根据 RNG_InitStruct 中指定的参数初始化 RNG 寄存器。 | |
| void | LL_RNG_StructInit (LL_RNG_InitTypeDef *RNG_InitStruct) |
| 将 LL_RNG_InitTypeDef 的每个字段设置为默认值。 | |
| ErrorStatus LL_RNG_DeInit | ( | const RNG_TypeDef * | RNGx | ) |
反初始化 RNG 寄存器(将寄存器恢复为默认值)。
| RNGx | RNG 实例 |
| ErrorStatus | 枚举值:
|
定义在文件 stm32g4xx_ll_rng.c 的第 71 行。
引用了 assert_param、LL_AHB2_GRP1_ForceReset()、LL_AHB2_GRP1_PERIPH_RNG 和 LL_AHB2_GRP1_ReleaseReset()。
| ErrorStatus LL_RNG_Init | ( | RNG_TypeDef * | RNGx, |
| const LL_RNG_InitTypeDef * | RNG_InitStruct | ||
| ) |
根据 RNG_InitStruct 中指定的参数初始化 RNG 寄存器。
| RNGx | RNG 实例 |
| RNG_InitStruct | 指向 LL_RNG_InitTypeDef 结构体的指针,该结构体包含指定 RNG 外设的配置信息。 |
| ErrorStatus | 枚举值:
|
定义在文件 stm32g4xx_ll_rng.c 的第 102 行。
引用了 assert_param、LL_RNG_InitTypeDef::ClockErrorDetection 和 IS_LL_RNG_CED。
| void LL_RNG_StructInit | ( | LL_RNG_InitTypeDef * | RNG_InitStruct | ) |
将 LL_RNG_InitTypeDef 的每个字段设置为默认值。
| RNG_InitStruct | 指向 LL_RNG_InitTypeDef 结构体的指针,该结构体的字段将被设置为默认值。 |
| 无 |
定义在文件 stm32g4xx_ll_rng.c 的第 120 行。
引用了 LL_RNG_InitTypeDef::ClockErrorDetection 和 LL_RNG_CED_ENABLE。
1.7.6.1