Example #1
0
/**
  * @brief  		Random Number Generator set clock source 
	* @param	src: 0 (RNG clock), 1(PCLK)
  * @retval 		None
  */
void RNG_SetClockSource (RNG_CLK_SOURCE src)
{
	/*	Check the parameters	*/
	assert_param(IS_RNG_CLK_SRC(src));
	/* Set RNG CLKSEL: src */
	RNG->RNG_CLKSEL = src;
}
void RNG_SetClockSource (RNG_CLK_SOURCE src)
{
	assert_param(IS_RNG_CLK_SRC(src));
	RNG->RNG_CLKSEL = src;
}