/* Enables or disables the output of internal reference voltage (VREFINT). The VREFINT output can be routed to any I/O in group 3: CH8 (PB0) or CH9 (PB1). To correctly use this function, the SYSCFG_RIIOSwitchConfig() function should be called after.  */
void COMP_VrefintOutputCmd(FunctionalState NewState)
/* Enables or disables the output of internal reference voltage (VREFINT). The VREFINT output can be routed to any I/O in group 3: CH8 (PB0) or CH9 (PB1). To correctly use this function, the SYSCFG_RIIOSwitchConfig() function should be called after.  */
void COMP_VrefintOutputCmd(FunctionalState NewState)
{
  assert_param(IS_FUNCTIONAL_STATE(NewState));
  if (NewState != DISABLE)
  {
    COMP->CSR |= (uint32_t) COMP_CSR_VREFOUTEN;
  }
  else
  {
    COMP->CSR &= (uint32_t) (~COMP_CSR_VREFOUTEN);
  }
}