pub unsafe extern "C" fn MSS_TIM2_enable_irq(
timer: *mut TIMER_TypeDef,
)Expand description
MSS_TIM2_enable_irq() enables interrupt generation for Timer 2. This function also enables the interrupt in the RISC-V PLIC. Timer2_IRQHandler() is called when a Timer 2 interrupt occurs.
Note: A Timer2_IRQHandler() default implementation is defined, with weak linkage, in the MPFS HAL. You must provide your own implementation of Timer2_IRQHandler(), which overrides the default implementation, to suit your application.
@param timer The timer parameter specifies the Timer block being used.
@return This function does not return a value.