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

Function TIMER_IntEnable

bsp/efm32/Libraries/emlib/inc/em_timer.h:503–506  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

501 * interrupt flags for the TIMER module (TIMER_IF_nnn) OR'ed together.
502 ******************************************************************************/
503__STATIC_INLINE void TIMER_IntEnable(TIMER_TypeDef *timer, uint32_t flags)
504{
505 timer->IEN |= flags;
506}
507
508
509/***************************************************************************//**

Callers 1

rt_hw_timer_unit_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected