/hal_stm32-latest/stm32cube/stm32wb0x/drivers/include/ |
D | stm32wb0x_ll_rng.h | 576 __STATIC_INLINE void LL_RNG_Enable(RNG_TypeDef *RNGx) in LL_RNG_Enable() argument 578 MODIFY_REG(RNGx->CR, RNG_CR_DISABLE, LL_RNG_CR_DISABLE_0); in LL_RNG_Enable() 587 __STATIC_INLINE void LL_RNG_Disable(RNG_TypeDef *RNGx) in LL_RNG_Disable() argument 589 MODIFY_REG(RNGx->CR, RNG_CR_DISABLE, LL_RNG_CR_DISABLE_1); in LL_RNG_Disable() 604 __STATIC_INLINE void LL_RNG_SetResetRevealClockErrorFlags(RNG_TypeDef *RNGx, uint32_t value) in LL_RNG_SetResetRevealClockErrorFlags() argument 606 MODIFY_REG(RNGx->CR, RNG_CR_CLR_REVCLK_FLAG, value); in LL_RNG_SetResetRevealClockErrorFlags() 618 __STATIC_INLINE uint32_t LL_RNG_GetResetRevealClockErrorFlags(RNG_TypeDef *RNGx) in LL_RNG_GetResetRevealClockErrorFlags() argument 620 return (uint32_t)(READ_BIT(RNGx->CR, RNG_CR_CLR_REVCLK_FLAG)); in LL_RNG_GetResetRevealClockErrorFlags() 636 __STATIC_INLINE void LL_RNG_SetResetHealthErrorFlags(RNG_TypeDef *RNGx, uint32_t value) in LL_RNG_SetResetHealthErrorFlags() argument 638 MODIFY_REG(RNGx->CR, RNG_CR_RST_HEALTH_FLAGS, value); in LL_RNG_SetResetHealthErrorFlags() [all …]
|
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/include/ |
D | stm32h5xx_ll_rng.h | 198 __STATIC_INLINE void LL_RNG_Enable(RNG_TypeDef *RNGx) in LL_RNG_Enable() argument 200 SET_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Enable() 209 __STATIC_INLINE void LL_RNG_Disable(RNG_TypeDef *RNGx) in LL_RNG_Disable() argument 211 CLEAR_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Disable() 220 __STATIC_INLINE uint32_t LL_RNG_IsEnabled(const RNG_TypeDef *RNGx) in LL_RNG_IsEnabled() argument 222 return ((READ_BIT(RNGx->CR, RNG_CR_RNGEN) == (RNG_CR_RNGEN)) ? 1UL : 0UL); in LL_RNG_IsEnabled() 231 __STATIC_INLINE void LL_RNG_EnableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_EnableClkErrorDetect() argument 233 MODIFY_REG(RNGx->CR, RNG_CR_CED | RNG_CR_CONDRST, LL_RNG_CED_ENABLE | RNG_CR_CONDRST); in LL_RNG_EnableClkErrorDetect() 234 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_EnableClkErrorDetect() 243 __STATIC_INLINE void LL_RNG_DisableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_DisableClkErrorDetect() argument [all …]
|
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/include/ |
D | stm32u5xx_ll_rng.h | 198 __STATIC_INLINE void LL_RNG_Enable(RNG_TypeDef *RNGx) in LL_RNG_Enable() argument 200 SET_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Enable() 209 __STATIC_INLINE void LL_RNG_Disable(RNG_TypeDef *RNGx) in LL_RNG_Disable() argument 211 CLEAR_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Disable() 220 __STATIC_INLINE uint32_t LL_RNG_IsEnabled(const RNG_TypeDef *RNGx) in LL_RNG_IsEnabled() argument 222 return ((READ_BIT(RNGx->CR, RNG_CR_RNGEN) == (RNG_CR_RNGEN)) ? 1UL : 0UL); in LL_RNG_IsEnabled() 231 __STATIC_INLINE void LL_RNG_EnableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_EnableClkErrorDetect() argument 233 MODIFY_REG(RNGx->CR, RNG_CR_CED | RNG_CR_CONDRST, LL_RNG_CED_ENABLE | RNG_CR_CONDRST); in LL_RNG_EnableClkErrorDetect() 234 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_EnableClkErrorDetect() 243 __STATIC_INLINE void LL_RNG_DisableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_DisableClkErrorDetect() argument [all …]
|
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/include/ |
D | stm32n6xx_ll_rng.h | 198 __STATIC_INLINE void LL_RNG_Enable(RNG_TypeDef *RNGx) in LL_RNG_Enable() argument 200 SET_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Enable() 209 __STATIC_INLINE void LL_RNG_Disable(RNG_TypeDef *RNGx) in LL_RNG_Disable() argument 211 CLEAR_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Disable() 220 __STATIC_INLINE uint32_t LL_RNG_IsEnabled(const RNG_TypeDef *RNGx) in LL_RNG_IsEnabled() argument 222 return ((READ_BIT(RNGx->CR, RNG_CR_RNGEN) == (RNG_CR_RNGEN)) ? 1UL : 0UL); in LL_RNG_IsEnabled() 231 __STATIC_INLINE void LL_RNG_EnableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_EnableClkErrorDetect() argument 233 MODIFY_REG(RNGx->CR, RNG_CR_CED | RNG_CR_CONDRST, LL_RNG_CED_ENABLE | RNG_CR_CONDRST); in LL_RNG_EnableClkErrorDetect() 234 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_EnableClkErrorDetect() 243 __STATIC_INLINE void LL_RNG_DisableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_DisableClkErrorDetect() argument [all …]
|
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/include/ |
D | stm32u0xx_ll_rng.h | 198 __STATIC_INLINE void LL_RNG_Enable(RNG_TypeDef *RNGx) in LL_RNG_Enable() argument 200 SET_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Enable() 209 __STATIC_INLINE void LL_RNG_Disable(RNG_TypeDef *RNGx) in LL_RNG_Disable() argument 211 CLEAR_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Disable() 220 __STATIC_INLINE uint32_t LL_RNG_IsEnabled(const RNG_TypeDef *RNGx) in LL_RNG_IsEnabled() argument 222 return ((READ_BIT(RNGx->CR, RNG_CR_RNGEN) == (RNG_CR_RNGEN)) ? 1UL : 0UL); in LL_RNG_IsEnabled() 231 __STATIC_INLINE void LL_RNG_EnableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_EnableClkErrorDetect() argument 233 MODIFY_REG(RNGx->CR, RNG_CR_CED | RNG_CR_CONDRST, LL_RNG_CED_ENABLE | RNG_CR_CONDRST); in LL_RNG_EnableClkErrorDetect() 234 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_EnableClkErrorDetect() 243 __STATIC_INLINE void LL_RNG_DisableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_DisableClkErrorDetect() argument [all …]
|
/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/include/ |
D | stm32wbaxx_ll_rng.h | 198 __STATIC_INLINE void LL_RNG_Enable(RNG_TypeDef *RNGx) in LL_RNG_Enable() argument 200 SET_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Enable() 209 __STATIC_INLINE void LL_RNG_Disable(RNG_TypeDef *RNGx) in LL_RNG_Disable() argument 211 CLEAR_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Disable() 220 __STATIC_INLINE uint32_t LL_RNG_IsEnabled(const RNG_TypeDef *RNGx) in LL_RNG_IsEnabled() argument 222 return ((READ_BIT(RNGx->CR, RNG_CR_RNGEN) == (RNG_CR_RNGEN)) ? 1UL : 0UL); in LL_RNG_IsEnabled() 231 __STATIC_INLINE void LL_RNG_EnableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_EnableClkErrorDetect() argument 233 MODIFY_REG(RNGx->CR, RNG_CR_CED | RNG_CR_CONDRST, LL_RNG_CED_ENABLE | RNG_CR_CONDRST); in LL_RNG_EnableClkErrorDetect() 234 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_EnableClkErrorDetect() 243 __STATIC_INLINE void LL_RNG_DisableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_DisableClkErrorDetect() argument [all …]
|
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/include/ |
D | stm32h7rsxx_ll_rng.h | 198 __STATIC_INLINE void LL_RNG_Enable(RNG_TypeDef *RNGx) in LL_RNG_Enable() argument 200 SET_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Enable() 209 __STATIC_INLINE void LL_RNG_Disable(RNG_TypeDef *RNGx) in LL_RNG_Disable() argument 211 CLEAR_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Disable() 220 __STATIC_INLINE uint32_t LL_RNG_IsEnabled(const RNG_TypeDef *RNGx) in LL_RNG_IsEnabled() argument 222 return ((READ_BIT(RNGx->CR, RNG_CR_RNGEN) == (RNG_CR_RNGEN)) ? 1UL : 0UL); in LL_RNG_IsEnabled() 231 __STATIC_INLINE void LL_RNG_EnableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_EnableClkErrorDetect() argument 233 CLEAR_BIT(RNGx->CR, RNG_CR_CED); in LL_RNG_EnableClkErrorDetect() 242 __STATIC_INLINE void LL_RNG_DisableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_DisableClkErrorDetect() argument 244 SET_BIT(RNGx->CR, RNG_CR_CED); in LL_RNG_DisableClkErrorDetect() [all …]
|
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/include/ |
D | stm32h7xx_ll_rng.h | 200 __STATIC_INLINE void LL_RNG_Enable(RNG_TypeDef *RNGx) in LL_RNG_Enable() argument 202 SET_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Enable() 211 __STATIC_INLINE void LL_RNG_Disable(RNG_TypeDef *RNGx) in LL_RNG_Disable() argument 213 CLEAR_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Disable() 222 __STATIC_INLINE uint32_t LL_RNG_IsEnabled(const RNG_TypeDef *RNGx) in LL_RNG_IsEnabled() argument 224 return ((READ_BIT(RNGx->CR, RNG_CR_RNGEN) == (RNG_CR_RNGEN)) ? 1UL : 0UL); in LL_RNG_IsEnabled() 233 __STATIC_INLINE void LL_RNG_EnableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_EnableClkErrorDetect() argument 236 MODIFY_REG(RNGx->CR, RNG_CR_CED | RNG_CR_CONDRST, LL_RNG_CED_ENABLE | RNG_CR_CONDRST); in LL_RNG_EnableClkErrorDetect() 237 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_EnableClkErrorDetect() 239 CLEAR_BIT(RNGx->CR, RNG_CR_CED); in LL_RNG_EnableClkErrorDetect() [all …]
|
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/include/ |
D | stm32l4xx_ll_rng.h | 206 __STATIC_INLINE void LL_RNG_Enable(RNG_TypeDef *RNGx) in LL_RNG_Enable() argument 208 SET_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Enable() 217 __STATIC_INLINE void LL_RNG_Disable(RNG_TypeDef *RNGx) in LL_RNG_Disable() argument 219 CLEAR_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Disable() 228 __STATIC_INLINE uint32_t LL_RNG_IsEnabled(const RNG_TypeDef *RNGx) in LL_RNG_IsEnabled() argument 230 return ((READ_BIT(RNGx->CR, RNG_CR_RNGEN) == (RNG_CR_RNGEN)) ? 1UL : 0UL); in LL_RNG_IsEnabled() 240 __STATIC_INLINE void LL_RNG_EnableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_EnableClkErrorDetect() argument 243 MODIFY_REG(RNGx->CR, RNG_CR_CED | RNG_CR_CONDRST, LL_RNG_CED_ENABLE | RNG_CR_CONDRST); in LL_RNG_EnableClkErrorDetect() 244 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_EnableClkErrorDetect() 246 CLEAR_BIT(RNGx->CR, RNG_CR_CED); in LL_RNG_EnableClkErrorDetect() [all …]
|
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/include/ |
D | stm32l5xx_ll_rng.h | 198 __STATIC_INLINE void LL_RNG_Enable(RNG_TypeDef *RNGx) in LL_RNG_Enable() argument 200 SET_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Enable() 209 __STATIC_INLINE void LL_RNG_Disable(RNG_TypeDef *RNGx) in LL_RNG_Disable() argument 211 CLEAR_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Disable() 220 __STATIC_INLINE uint32_t LL_RNG_IsEnabled(const RNG_TypeDef *RNGx) in LL_RNG_IsEnabled() argument 222 return ((READ_BIT(RNGx->CR, RNG_CR_RNGEN) == (RNG_CR_RNGEN)) ? 1UL : 0UL); in LL_RNG_IsEnabled() 231 __STATIC_INLINE void LL_RNG_EnableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_EnableClkErrorDetect() argument 233 MODIFY_REG(RNGx->CR, RNG_CR_CED | RNG_CR_CONDRST, LL_RNG_CED_ENABLE | RNG_CR_CONDRST); in LL_RNG_EnableClkErrorDetect() 234 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_EnableClkErrorDetect() 243 __STATIC_INLINE void LL_RNG_DisableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_DisableClkErrorDetect() argument [all …]
|
/hal_stm32-latest/stm32cube/stm32wlxx/drivers/include/ |
D | stm32wlxx_ll_rng.h | 189 __STATIC_INLINE void LL_RNG_Enable(RNG_TypeDef *RNGx) in LL_RNG_Enable() argument 191 SET_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Enable() 200 __STATIC_INLINE void LL_RNG_Disable(RNG_TypeDef *RNGx) in LL_RNG_Disable() argument 202 CLEAR_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Disable() 211 __STATIC_INLINE uint32_t LL_RNG_IsEnabled(RNG_TypeDef *RNGx) in LL_RNG_IsEnabled() argument 213 return ((READ_BIT(RNGx->CR, RNG_CR_RNGEN) == (RNG_CR_RNGEN)) ? 1UL : 0UL); in LL_RNG_IsEnabled() 222 __STATIC_INLINE void LL_RNG_EnableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_EnableClkErrorDetect() argument 224 CLEAR_BIT(RNGx->CR, RNG_CR_CED); in LL_RNG_EnableClkErrorDetect() 233 __STATIC_INLINE void LL_RNG_DisableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_DisableClkErrorDetect() argument 235 SET_BIT(RNGx->CR, RNG_CR_CED); in LL_RNG_DisableClkErrorDetect() [all …]
|
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/include/ |
D | stm32wbxx_ll_rng.h | 156 __STATIC_INLINE void LL_RNG_Enable(RNG_TypeDef *RNGx) in LL_RNG_Enable() argument 158 SET_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Enable() 167 __STATIC_INLINE void LL_RNG_Disable(RNG_TypeDef *RNGx) in LL_RNG_Disable() argument 169 CLEAR_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Disable() 178 __STATIC_INLINE uint32_t LL_RNG_IsEnabled(const RNG_TypeDef *RNGx) in LL_RNG_IsEnabled() argument 180 return ((READ_BIT(RNGx->CR, RNG_CR_RNGEN) == (RNG_CR_RNGEN)) ? 1UL : 0UL); in LL_RNG_IsEnabled() 189 __STATIC_INLINE void LL_RNG_EnableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_EnableClkErrorDetect() argument 191 CLEAR_BIT(RNGx->CR, RNG_CR_CED); in LL_RNG_EnableClkErrorDetect() 200 __STATIC_INLINE void LL_RNG_DisableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_DisableClkErrorDetect() argument 202 SET_BIT(RNGx->CR, RNG_CR_CED); in LL_RNG_DisableClkErrorDetect() [all …]
|
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/include/ |
D | stm32g0xx_ll_rng.h | 156 __STATIC_INLINE void LL_RNG_Enable(RNG_TypeDef *RNGx) in LL_RNG_Enable() argument 158 SET_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Enable() 167 __STATIC_INLINE void LL_RNG_Disable(RNG_TypeDef *RNGx) in LL_RNG_Disable() argument 169 CLEAR_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Disable() 178 __STATIC_INLINE uint32_t LL_RNG_IsEnabled(const RNG_TypeDef *RNGx) in LL_RNG_IsEnabled() argument 180 return ((READ_BIT(RNGx->CR, RNG_CR_RNGEN) == (RNG_CR_RNGEN)) ? 1UL : 0UL); in LL_RNG_IsEnabled() 189 __STATIC_INLINE void LL_RNG_EnableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_EnableClkErrorDetect() argument 191 CLEAR_BIT(RNGx->CR, RNG_CR_CED); in LL_RNG_EnableClkErrorDetect() 200 __STATIC_INLINE void LL_RNG_DisableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_DisableClkErrorDetect() argument 202 SET_BIT(RNGx->CR, RNG_CR_CED); in LL_RNG_DisableClkErrorDetect() [all …]
|
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/include/ |
D | stm32g4xx_ll_rng.h | 156 __STATIC_INLINE void LL_RNG_Enable(RNG_TypeDef *RNGx) in LL_RNG_Enable() argument 158 SET_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Enable() 167 __STATIC_INLINE void LL_RNG_Disable(RNG_TypeDef *RNGx) in LL_RNG_Disable() argument 169 CLEAR_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Disable() 178 __STATIC_INLINE uint32_t LL_RNG_IsEnabled(const RNG_TypeDef *RNGx) in LL_RNG_IsEnabled() argument 180 return ((READ_BIT(RNGx->CR, RNG_CR_RNGEN) == (RNG_CR_RNGEN)) ? 1UL : 0UL); in LL_RNG_IsEnabled() 189 __STATIC_INLINE void LL_RNG_EnableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_EnableClkErrorDetect() argument 191 CLEAR_BIT(RNGx->CR, RNG_CR_CED); in LL_RNG_EnableClkErrorDetect() 200 __STATIC_INLINE void LL_RNG_DisableClkErrorDetect(RNG_TypeDef *RNGx) in LL_RNG_DisableClkErrorDetect() argument 202 SET_BIT(RNGx->CR, RNG_CR_CED); in LL_RNG_DisableClkErrorDetect() [all …]
|
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/include/ |
D | stm32f2xx_ll_rng.h | 127 __STATIC_INLINE void LL_RNG_Enable(RNG_TypeDef *RNGx) in LL_RNG_Enable() argument 129 SET_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Enable() 138 __STATIC_INLINE void LL_RNG_Disable(RNG_TypeDef *RNGx) in LL_RNG_Disable() argument 140 CLEAR_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Disable() 149 __STATIC_INLINE uint32_t LL_RNG_IsEnabled(const RNG_TypeDef *RNGx) in LL_RNG_IsEnabled() argument 151 return ((READ_BIT(RNGx->CR, RNG_CR_RNGEN) == (RNG_CR_RNGEN)) ? 1UL : 0UL); in LL_RNG_IsEnabled() 168 __STATIC_INLINE uint32_t LL_RNG_IsActiveFlag_DRDY(const RNG_TypeDef *RNGx) in LL_RNG_IsActiveFlag_DRDY() argument 170 return ((READ_BIT(RNGx->SR, RNG_SR_DRDY) == (RNG_SR_DRDY)) ? 1UL : 0UL); in LL_RNG_IsActiveFlag_DRDY() 179 __STATIC_INLINE uint32_t LL_RNG_IsActiveFlag_CECS(const RNG_TypeDef *RNGx) in LL_RNG_IsActiveFlag_CECS() argument 181 return ((READ_BIT(RNGx->SR, RNG_SR_CECS) == (RNG_SR_CECS)) ? 1UL : 0UL); in LL_RNG_IsActiveFlag_CECS() [all …]
|
/hal_stm32-latest/stm32cube/stm32l0xx/drivers/include/ |
D | stm32l0xx_ll_rng.h | 127 __STATIC_INLINE void LL_RNG_Enable(RNG_TypeDef *RNGx) in LL_RNG_Enable() argument 129 SET_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Enable() 138 __STATIC_INLINE void LL_RNG_Disable(RNG_TypeDef *RNGx) in LL_RNG_Disable() argument 140 CLEAR_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Disable() 149 __STATIC_INLINE uint32_t LL_RNG_IsEnabled(RNG_TypeDef *RNGx) in LL_RNG_IsEnabled() argument 151 return ((READ_BIT(RNGx->CR, RNG_CR_RNGEN) == (RNG_CR_RNGEN)) ? 1UL : 0UL); in LL_RNG_IsEnabled() 168 __STATIC_INLINE uint32_t LL_RNG_IsActiveFlag_DRDY(RNG_TypeDef *RNGx) in LL_RNG_IsActiveFlag_DRDY() argument 170 return ((READ_BIT(RNGx->SR, RNG_SR_DRDY) == (RNG_SR_DRDY)) ? 1UL : 0UL); in LL_RNG_IsActiveFlag_DRDY() 179 __STATIC_INLINE uint32_t LL_RNG_IsActiveFlag_CECS(RNG_TypeDef *RNGx) in LL_RNG_IsActiveFlag_CECS() argument 181 return ((READ_BIT(RNGx->SR, RNG_SR_CECS) == (RNG_SR_CECS)) ? 1UL : 0UL); in LL_RNG_IsActiveFlag_CECS() [all …]
|
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/include/ |
D | stm32f7xx_ll_rng.h | 127 __STATIC_INLINE void LL_RNG_Enable(RNG_TypeDef *RNGx) in LL_RNG_Enable() argument 129 SET_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Enable() 138 __STATIC_INLINE void LL_RNG_Disable(RNG_TypeDef *RNGx) in LL_RNG_Disable() argument 140 CLEAR_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Disable() 149 __STATIC_INLINE uint32_t LL_RNG_IsEnabled(const RNG_TypeDef *RNGx) in LL_RNG_IsEnabled() argument 151 return ((READ_BIT(RNGx->CR, RNG_CR_RNGEN) == (RNG_CR_RNGEN)) ? 1UL : 0UL); in LL_RNG_IsEnabled() 168 __STATIC_INLINE uint32_t LL_RNG_IsActiveFlag_DRDY(const RNG_TypeDef *RNGx) in LL_RNG_IsActiveFlag_DRDY() argument 170 return ((READ_BIT(RNGx->SR, RNG_SR_DRDY) == (RNG_SR_DRDY)) ? 1UL : 0UL); in LL_RNG_IsActiveFlag_DRDY() 179 __STATIC_INLINE uint32_t LL_RNG_IsActiveFlag_CECS(const RNG_TypeDef *RNGx) in LL_RNG_IsActiveFlag_CECS() argument 181 return ((READ_BIT(RNGx->SR, RNG_SR_CECS) == (RNG_SR_CECS)) ? 1UL : 0UL); in LL_RNG_IsActiveFlag_CECS() [all …]
|
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/include/ |
D | stm32f4xx_ll_rng.h | 127 __STATIC_INLINE void LL_RNG_Enable(RNG_TypeDef *RNGx) in LL_RNG_Enable() argument 129 SET_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Enable() 138 __STATIC_INLINE void LL_RNG_Disable(RNG_TypeDef *RNGx) in LL_RNG_Disable() argument 140 CLEAR_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Disable() 149 __STATIC_INLINE uint32_t LL_RNG_IsEnabled(const RNG_TypeDef *RNGx) in LL_RNG_IsEnabled() argument 151 return ((READ_BIT(RNGx->CR, RNG_CR_RNGEN) == (RNG_CR_RNGEN)) ? 1UL : 0UL); in LL_RNG_IsEnabled() 168 __STATIC_INLINE uint32_t LL_RNG_IsActiveFlag_DRDY(const RNG_TypeDef *RNGx) in LL_RNG_IsActiveFlag_DRDY() argument 170 return ((READ_BIT(RNGx->SR, RNG_SR_DRDY) == (RNG_SR_DRDY)) ? 1UL : 0UL); in LL_RNG_IsActiveFlag_DRDY() 179 __STATIC_INLINE uint32_t LL_RNG_IsActiveFlag_CECS(const RNG_TypeDef *RNGx) in LL_RNG_IsActiveFlag_CECS() argument 181 return ((READ_BIT(RNGx->SR, RNG_SR_CECS) == (RNG_SR_CECS)) ? 1UL : 0UL); in LL_RNG_IsActiveFlag_CECS() [all …]
|
/hal_stm32-latest/stm32cube/stm32wb0x/drivers/src/ |
D | stm32wb0x_ll_rng.c | 64 ErrorStatus LL_RNG_DeInit(RNG_TypeDef *RNGx) in LL_RNG_DeInit() argument 67 assert_param(IS_RNG_ALL_INSTANCE(RNGx)); in LL_RNG_DeInit() 86 ErrorStatus LL_RNG_Init(RNG_TypeDef *RNGx, LL_RNG_InitTypeDef *RNG_InitStruct) in LL_RNG_Init() argument 90 while (LL_RNG_GetSamplingClockEnableDivider(RNGx) != RNG_InitStruct->SamplingClockDivider) in LL_RNG_Init() 94 LL_RNG_SetSamplingClockEnableDivider(RNGx, RNG_InitStruct->SamplingClockDivider); in LL_RNG_Init() 148 ErrorStatus LL_RNG_DeInit(RNG_TypeDef *RNGx) in LL_RNG_DeInit() argument 151 assert_param(IS_RNG_ALL_INSTANCE(RNGx)); in LL_RNG_DeInit() 169 ErrorStatus LL_RNG_Init(RNG_TypeDef *RNGx, LL_RNG_InitTypeDef *RNG_InitStruct) in LL_RNG_Init() argument 172 assert_param(IS_RNG_ALL_INSTANCE(RNGx)); in LL_RNG_Init() 176 MODIFY_REG(RNGx->CR, RNG_CR_TST_CLK, RNG_InitStruct->ClockDetection); in LL_RNG_Init()
|
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_ll_rng.c | 84 ErrorStatus LL_RNG_DeInit(const RNG_TypeDef *RNGx) in LL_RNG_DeInit() argument 89 assert_param(IS_RNG_ALL_INSTANCE(RNGx)); in LL_RNG_DeInit() 90 if (RNGx == RNG) in LL_RNG_DeInit() 115 ErrorStatus LL_RNG_Init(RNG_TypeDef *RNGx, const LL_RNG_InitTypeDef *RNG_InitStruct) in LL_RNG_Init() argument 118 assert_param(IS_RNG_ALL_INSTANCE(RNGx)); in LL_RNG_Init() 123 …MODIFY_REG(RNGx->CR, RNG_CR_CED | RNG_CR_CONDRST, RNG_InitStruct->ClockErrorDetection | RNG_CR_CON… in LL_RNG_Init() 125 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_Init() 128 MODIFY_REG(RNGx->CR, RNG_CR_CED, RNG_InitStruct->ClockErrorDetection); in LL_RNG_Init()
|
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_ll_rng.c | 86 ErrorStatus LL_RNG_DeInit(const RNG_TypeDef *RNGx) in LL_RNG_DeInit() argument 91 assert_param(IS_RNG_ALL_INSTANCE(RNGx)); in LL_RNG_DeInit() 92 if (RNGx == RNG) in LL_RNG_DeInit() 118 ErrorStatus LL_RNG_Init(RNG_TypeDef *RNGx, const LL_RNG_InitTypeDef *RNG_InitStruct) in LL_RNG_Init() argument 121 assert_param(IS_RNG_ALL_INSTANCE(RNGx)); in LL_RNG_Init() 126 …MODIFY_REG(RNGx->CR, RNG_CR_CED | RNG_CR_CONDRST, RNG_InitStruct->ClockErrorDetection | RNG_CR_CON… in LL_RNG_Init() 128 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_Init() 131 MODIFY_REG(RNGx->CR, RNG_CR_CED, RNG_InitStruct->ClockErrorDetection); in LL_RNG_Init()
|
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/src/ |
D | stm32u0xx_ll_rng.c | 82 ErrorStatus LL_RNG_DeInit(const RNG_TypeDef *RNGx) in LL_RNG_DeInit() argument 87 assert_param(IS_RNG_ALL_INSTANCE(RNGx)); in LL_RNG_DeInit() 88 if (RNGx == RNG) in LL_RNG_DeInit() 113 ErrorStatus LL_RNG_Init(RNG_TypeDef *RNGx, const LL_RNG_InitTypeDef *RNG_InitStruct) in LL_RNG_Init() argument 116 assert_param(IS_RNG_ALL_INSTANCE(RNGx)); in LL_RNG_Init() 120 …MODIFY_REG(RNGx->CR, RNG_CR_CED | RNG_CR_CONDRST, RNG_InitStruct->ClockErrorDetection | RNG_CR_CON… in LL_RNG_Init() 122 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_Init()
|
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/ |
D | stm32h7rsxx_ll_rng.c | 82 ErrorStatus LL_RNG_DeInit(const RNG_TypeDef *RNGx) in LL_RNG_DeInit() argument 87 assert_param(IS_RNG_ALL_INSTANCE(RNGx)); in LL_RNG_DeInit() 88 if (RNGx == RNG) in LL_RNG_DeInit() 113 ErrorStatus LL_RNG_Init(RNG_TypeDef *RNGx, LL_RNG_InitTypeDef *RNG_InitStruct) in LL_RNG_Init() argument 116 assert_param(IS_RNG_ALL_INSTANCE(RNGx)); in LL_RNG_Init() 120 …MODIFY_REG(RNGx->CR, RNG_CR_CED | RNG_CR_CONDRST, RNG_InitStruct->ClockErrorDetection | RNG_CR_CON… in LL_RNG_Init() 122 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_Init()
|
/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/src/ |
D | stm32wbaxx_ll_rng.c | 82 ErrorStatus LL_RNG_DeInit(const RNG_TypeDef *RNGx) in LL_RNG_DeInit() argument 87 assert_param(IS_RNG_ALL_INSTANCE(RNGx)); in LL_RNG_DeInit() 88 if (RNGx == RNG) in LL_RNG_DeInit() 113 ErrorStatus LL_RNG_Init(RNG_TypeDef *RNGx, const LL_RNG_InitTypeDef *RNG_InitStruct) in LL_RNG_Init() argument 116 assert_param(IS_RNG_ALL_INSTANCE(RNGx)); in LL_RNG_Init() 120 …MODIFY_REG(RNGx->CR, RNG_CR_CED | RNG_CR_CONDRST, RNG_InitStruct->ClockErrorDetection | RNG_CR_CON… in LL_RNG_Init() 122 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_Init()
|
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_ll_rng.c | 82 ErrorStatus LL_RNG_DeInit(const RNG_TypeDef *RNGx) in LL_RNG_DeInit() argument 87 assert_param(IS_RNG_ALL_INSTANCE(RNGx)); in LL_RNG_DeInit() 88 if (RNGx == RNG) in LL_RNG_DeInit() 113 ErrorStatus LL_RNG_Init(RNG_TypeDef *RNGx, const LL_RNG_InitTypeDef *RNG_InitStruct) in LL_RNG_Init() argument 116 assert_param(IS_RNG_ALL_INSTANCE(RNGx)); in LL_RNG_Init() 120 …MODIFY_REG(RNGx->CR, RNG_CR_CED | RNG_CR_CONDRST, RNG_InitStruct->ClockErrorDetection | RNG_CR_CON… in LL_RNG_Init() 122 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_Init()
|