[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:
Albert Kharisov
2021-05-18 13:51:00 +03:00
committed by GitHub
parent ba0419276e
commit 3114a2d4b8
54 changed files with 1916 additions and 417 deletions

View File

@@ -12,7 +12,6 @@ typedef void (*InterruptCallback)(void*, void*);
/** Interupt type */
typedef enum {
InterruptTypeComparatorTrigger,
InterruptTypeTimerCapture,
InterruptTypeTimerOutputCompare,
InterruptTypeTimerUpdate,
InterruptTypeExternalInterrupt,

View File

@@ -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
View File

@@ -0,0 +1,3 @@
#pragma once
#define COUNT_OF(x) (sizeof(x) / sizeof(x[0]))