* fix "state not acquired error" * add InterruptTypeComparatorTrigger to interrupt mgr, use interrupt mgr in irda app * separate init irda timer * capture events buffer by app * irda common decoder * irda nec decoder realization * finished work with decoder * fix app path * fix widget remove on exit * nec receive, store and send * init some packets
		
			
				
	
	
		
			10 lines
		
	
	
		
			299 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			299 B
		
	
	
	
		
			C
		
	
	
	
	
	
#include "api-hal/api-interrupt-mgr.h"
 | 
						|
 | 
						|
/* interrupts */
 | 
						|
void HAL_COMP_TriggerCallback(COMP_HandleTypeDef* hcomp) {
 | 
						|
    api_interrupt_call(InterruptTypeComparatorTrigger, hcomp);
 | 
						|
}
 | 
						|
 | 
						|
void HAL_TIM_IC_CaptureCallback(TIM_HandleTypeDef* htim) {
 | 
						|
    api_interrupt_call(InterruptTypeTimerCapture, htim);
 | 
						|
} |