/* Reset ACMP to same state as after a HW reset.  */
void ACMP_Reset(ACMP_TypeDef *acmp)
/* Reset ACMP to same state as after a HW reset.  */
void ACMP_Reset(ACMP_TypeDef *acmp)
{
  EFM_ASSERT(ACMP_REF_VALID(acmp));
  acmp->CTRL     = _ACMP_CTRL_RESETVALUE;
  acmp->INPUTSEL = _ACMP_INPUTSEL_RESETVALUE;
  acmp->IEN      = _ACMP_IEN_RESETVALUE;
  acmp->IFC      = _ACMP_IF_MASK;
}