MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / ACMP_IntEnable

Function ACMP_IntEnable

bsp/efm32/Libraries/emlib/inc/em_acmp.h:319–322  ·  view source on GitHub ↗

/ * @brief * Enable one or more ACMP interrupts. * * @note * Depending on the use, a pending interrupt may already be set prior to * enabling the interrupt. Consider using ACMP_IntClear() prior to enabling * if such a pending interrupt should be ignored. * * @param[in] acmp * Pointer to ACMP peripheral register block. * * @param[in] flags * ACMP interrupt sources to enable.

Source from the content-addressed store, hash-verified

317 * valid interrupt flags for the ACMP module (ACMP_IF_nnn).
318 ******************************************************************************/
319__STATIC_INLINE void ACMP_IntEnable(ACMP_TypeDef *acmp, uint32_t flags)
320{
321 acmp->IEN |= flags;
322}
323
324
325/***************************************************************************//**

Callers 1

rt_acmp_controlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected