Lines Matching refs:CR

200   SET_BIT(RNGx->CR, RNG_CR_RNGEN);  in LL_RNG_Enable()
211 CLEAR_BIT(RNGx->CR, RNG_CR_RNGEN); in LL_RNG_Disable()
222 return ((READ_BIT(RNGx->CR, RNG_CR_RNGEN) == (RNG_CR_RNGEN)) ? 1UL : 0UL); in LL_RNG_IsEnabled()
233 CLEAR_BIT(RNGx->CR, RNG_CR_CED); in LL_RNG_EnableClkErrorDetect()
244 SET_BIT(RNGx->CR, RNG_CR_CED); in LL_RNG_DisableClkErrorDetect()
255 return ((READ_BIT(RNGx->CR, RNG_CR_CED) != (RNG_CR_CED)) ? 1UL : 0UL); in LL_RNG_IsEnabledClkErrorDetect()
266 SET_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_EnableCondReset()
277 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_DisableCondReset()
288 return ((READ_BIT(RNGx->CR, RNG_CR_CONDRST) == (RNG_CR_CONDRST)) ? 1UL : 0UL); in LL_RNG_IsEnabledCondReset()
299 SET_BIT(RNGx->CR, RNG_CR_CONFIGLOCK); in LL_RNG_ConfigLock()
310 return ((READ_BIT(RNGx->CR, RNG_CR_CONFIGLOCK) == (RNG_CR_CONFIGLOCK)) ? 1UL : 0UL); in LL_RNG_IsConfigLocked()
321 MODIFY_REG(RNGx->CR, RNG_CR_NISTC | RNG_CR_CONDRST, LL_RNG_NIST_COMPLIANT | RNG_CR_CONDRST); in LL_RNG_EnableNistCompliance()
322 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_EnableNistCompliance()
333 MODIFY_REG(RNGx->CR, RNG_CR_NISTC | RNG_CR_CONDRST, LL_RNG_CUSTOM_NIST | RNG_CR_CONDRST); in LL_RNG_DisableNistCompliance()
334 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST);; in LL_RNG_DisableNistCompliance()
345 return ((READ_BIT(RNGx->CR, RNG_CR_NISTC) != (RNG_CR_NISTC)) ? 1UL : 0UL); in LL_RNG_IsEnabledNistCompliance()
357 …MODIFY_REG(RNGx->CR, RNG_CR_RNG_CONFIG1 | RNG_CR_CONDRST, (Config1 << RNG_CR_RNG_CONFIG1_Pos) | RN… in LL_RNG_SetConfig1()
358 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_SetConfig1()
369 return (uint32_t)(READ_BIT(RNGx->CR, RNG_CR_RNG_CONFIG1) >> RNG_CR_RNG_CONFIG1_Pos); in LL_RNG_GetConfig1()
381 …MODIFY_REG(RNGx->CR, RNG_CR_RNG_CONFIG2 | RNG_CR_CONDRST, (Config2 << RNG_CR_RNG_CONFIG2_Pos) | RN… in LL_RNG_SetConfig2()
382 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_SetConfig2()
393 return (uint32_t)(READ_BIT(RNGx->CR, RNG_CR_RNG_CONFIG2) >> RNG_CR_RNG_CONFIG2_Pos); in LL_RNG_GetConfig2()
405 …MODIFY_REG(RNGx->CR, RNG_CR_RNG_CONFIG3 | RNG_CR_CONDRST, (Config3 << RNG_CR_RNG_CONFIG3_Pos) | RN… in LL_RNG_SetConfig3()
406 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_SetConfig3()
417 return (uint32_t)(READ_BIT(RNGx->CR, RNG_CR_RNG_CONFIG3) >> RNG_CR_RNG_CONFIG3_Pos); in LL_RNG_GetConfig3()
445 …MODIFY_REG(RNGx->CR, RNG_CR_CLKDIV | RNG_CR_CONDRST, (Divider << RNG_CR_CLKDIV_Pos) | RNG_CR_CONDR… in LL_RNG_SetClockDivider()
446 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_SetClockDivider()
473 return (uint32_t)READ_BIT(RNGx->CR, RNG_CR_CLKDIV); in LL_RNG_GetClockDivider()
577 SET_BIT(RNGx->CR, RNG_CR_IE); in LL_RNG_EnableIT()
589 CLEAR_BIT(RNGx->CR, RNG_CR_IE); in LL_RNG_DisableIT()
601 return ((READ_BIT(RNGx->CR, RNG_CR_IE) == (RNG_CR_IE)) ? 1UL : 0UL); in LL_RNG_IsEnabledIT()
635 MODIFY_REG(RNGx->CR, RNG_CR_ARDIS | RNG_CR_CONDRST, LL_RNG_ARDIS_ENABLE | RNG_CR_CONDRST); in LL_RNG_EnableArdis()
636 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_EnableArdis()
647 MODIFY_REG(RNGx->CR, RNG_CR_ARDIS | RNG_CR_CONDRST, LL_RNG_ARDIS_DISABLE | RNG_CR_CONDRST); in LL_RNG_DisableArdis()
648 CLEAR_BIT(RNGx->CR, RNG_CR_CONDRST); in LL_RNG_DisableArdis()
659 return ((READ_BIT(RNGx->CR, RNG_CR_ARDIS) != (RNG_CR_ARDIS)) ? 1UL : 0UL); in LL_RNG_IsEnabledArdis()