[FL-1156, FL-1249] Add IRDA encoder/decoder library (#451)
* Add cscope db generation * Add api-hal-irda, TIM2: HAL->LL * Add libirda: pwm decoding * Universal state machine * Add irda decoder library * Move IRDA capture to standalone tool * Add encoder/decoder samsung32, NEC, fix bugs * Port current App to new Irda lib * Fix clang format for test data * Port IRDA api-hal to f6 Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
		| @@ -12,7 +12,6 @@ typedef void (*InterruptCallback)(void*, void*); | ||||
| /** Interupt type */ | ||||
| typedef enum { | ||||
|     InterruptTypeComparatorTrigger, | ||||
|     InterruptTypeTimerCapture, | ||||
|     InterruptTypeTimerOutputCompare, | ||||
|     InterruptTypeTimerUpdate, | ||||
|     InterruptTypeExternalInterrupt, | ||||
|   | ||||
| @@ -10,6 +10,7 @@ | ||||
| #include <furi/thread.h> | ||||
| #include <furi/valuemutex.h> | ||||
| #include <furi/log.h> | ||||
| #include <furi/utils.h> | ||||
|  | ||||
| #include <api-hal-gpio.h> | ||||
| #include <api-hal/api-interrupt-mgr.h> | ||||
|   | ||||
							
								
								
									
										3
									
								
								core/furi/utils.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								core/furi/utils.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| #pragma once | ||||
|  | ||||
| #define COUNT_OF(x) (sizeof(x) / sizeof(x[0])) | ||||
		Reference in New Issue
	
	Block a user