/ * @brief * Reset ACMP to same state as after a HW reset. * * @note * The ROUTE register is NOT reset by this function, in order to allow for * centralized setup of this feature. * * @param[in] acmp * Pointer to the ACMP peripheral register block. ******************************************************************************/
| 183 | * Pointer to the ACMP peripheral register block. |
| 184 | ******************************************************************************/ |
| 185 | void ACMP_Reset(ACMP_TypeDef *acmp) |
| 186 | { |
| 187 | /* Make sure the module exists on the selected chip */ |
| 188 | EFM_ASSERT(ACMP_REF_VALID(acmp)); |
| 189 | |
| 190 | acmp->CTRL = _ACMP_CTRL_RESETVALUE; |
| 191 | acmp->INPUTSEL = _ACMP_INPUTSEL_RESETVALUE; |
| 192 | acmp->IEN = _ACMP_IEN_RESETVALUE; |
| 193 | acmp->IFC = _ACMP_IF_MASK; |
| 194 | } |
| 195 | |
| 196 | /***************************************************************************//** |
| 197 | * @brief |
no outgoing calls
no test coverage detected