Lines Matching refs:CR

191   SET_BIT(RNGx->CR, RNG_CR_RNGEN);  in LL_RNG_Enable()
202 CLEAR_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Disable()
213 return ((READ_BIT(RNGx->CR, RNG_CR_RNGEN) == (RNG_CR_RNGEN)) ? 1UL : 0UL); in LL_RNG_IsEnabled()
224 CLEAR_BIT(RNGx->CR, RNG_CR_CED); in LL_RNG_EnableClkErrorDetect()
235 SET_BIT(RNGx->CR, RNG_CR_CED); in LL_RNG_DisableClkErrorDetect()
246 return ((READ_BIT(RNGx->CR, RNG_CR_CED) != (RNG_CR_CED)) ? 1UL : 0UL); in LL_RNG_IsEnabledClkErrorDetect()
257 SET_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_EnableCondReset()
268 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_DisableCondReset()
279 return ((READ_BIT(RNGx->CR, RNG_CR_CONDRST) == (RNG_CR_CONDRST)) ? 1UL : 0UL); in LL_RNG_IsEnabledCondReset()
290 SET_BIT(RNGx->CR, RNG_CR_CONFIGLOCK); in LL_RNG_ConfigLock()
301 return ((READ_BIT(RNGx->CR, RNG_CR_CONFIGLOCK) == (RNG_CR_CONFIGLOCK)) ? 1UL : 0UL); in LL_RNG_IsConfigLocked()
312 CLEAR_BIT(RNGx->CR, RNG_CR_NISTC); in LL_RNG_EnableNistCompliance()
323 SET_BIT(RNGx->CR, RNG_CR_NISTC); in LL_RNG_DisableNistCompliance()
334 return ((READ_BIT(RNGx->CR, RNG_CR_NISTC) != (RNG_CR_NISTC)) ? 1UL : 0UL); in LL_RNG_IsEnabledNistCompliance()
346 MODIFY_REG(RNGx->CR, RNG_CR_RNG_CONFIG1, Config1 << RNG_CR_RNG_CONFIG1_Pos); in LL_RNG_SetConfig1()
357 return (uint32_t)(READ_BIT(RNGx->CR, RNG_CR_RNG_CONFIG1) >> RNG_CR_RNG_CONFIG1_Pos); in LL_RNG_GetConfig1()
369 MODIFY_REG(RNGx->CR, RNG_CR_RNG_CONFIG2, Config2 << RNG_CR_RNG_CONFIG2_Pos); in LL_RNG_SetConfig2()
380 return (uint32_t)(READ_BIT(RNGx->CR, RNG_CR_RNG_CONFIG2) >> RNG_CR_RNG_CONFIG2_Pos); in LL_RNG_GetConfig2()
392 MODIFY_REG(RNGx->CR, RNG_CR_RNG_CONFIG3, Config3 << RNG_CR_RNG_CONFIG3_Pos); in LL_RNG_SetConfig3()
403 return (uint32_t)(READ_BIT(RNGx->CR, RNG_CR_RNG_CONFIG3) >> RNG_CR_RNG_CONFIG3_Pos); in LL_RNG_GetConfig3()
431 MODIFY_REG(RNGx->CR, RNG_CR_CLKDIV, Divider << RNG_CR_CLKDIV_Pos); in LL_RNG_SetClockDivider()
458 return (uint32_t)READ_BIT(RNGx->CR, RNG_CR_CLKDIV); in LL_RNG_GetClockDivider()
562 SET_BIT(RNGx->CR, RNG_CR_IE); in LL_RNG_EnableIT()
574 CLEAR_BIT(RNGx->CR, RNG_CR_IE); in LL_RNG_DisableIT()
586 return ((READ_BIT(RNGx->CR, RNG_CR_IE) == (RNG_CR_IE)) ? 1UL : 0UL); in LL_RNG_IsEnabledIT()