/ * @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.
| 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 | /***************************************************************************//** |