/* Enables or disables the initialization mode for specified SDADC peripheral.  */
void SDADC_InitModeCmd(SDADC_TypeDef *SDADCx, FunctionalState NewState)
/* Enables or disables the initialization mode for specified SDADC peripheral.  */
void SDADC_InitModeCmd(SDADC_TypeDef *SDADCx, FunctionalState NewState)
{
  assert_param(IS_SDADC_ALL_PERIPH(SDADCx));
  assert_param(IS_FUNCTIONAL_STATE(NewState));
  if (NewState != DISABLE)
  {
    SDADCx->CR1 |= (uint32_t)SDADC_CR1_INIT;
  }
  else
  {
    SDADCx->CR1 &= (uint32_t)(~SDADC_CR1_INIT);
  }
}