/* Return the output level (high or low) during calibration of the selected OPAMP.  */
uint32_t OPAMP_GetOutputLevel(uint32_t OPAMP_Selection)
/* Return the output level (high or low) during calibration of the selected OPAMP.  */
uint32_t OPAMP_GetOutputLevel(uint32_t OPAMP_Selection)
{
  uint32_t opampout = 0x0;
  assert_param(IS_OPAMP_ALL_PERIPH(OPAMP_Selection));
  if ((*(__IO uint32_t *) (OPAMP_BASE + OPAMP_Selection) & (OPAMP_CSR_OUTCAL)) != 0)
  {
    opampout = OPAMP_OutputLevel_High;
  }
  else
  {
    opampout = OPAMP_OutputLevel_Low;
  }
  return (uint32_t)(opampout);
}