[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:
13
lib/irda/irda_i.h
Normal file
13
lib/irda/irda_i.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
#include "irda.h"
|
||||
#include <stddef.h>
|
||||
#include "irda_encoder_i.h"
|
||||
#include "irda_common_decoder_i.h"
|
||||
#include "irda_protocol_defs_i.h"
|
||||
|
||||
typedef void* (*IrdaAlloc) (void);
|
||||
typedef IrdaMessage* (*IrdaDecode) (void* ctx, bool level, uint32_t duration);
|
||||
typedef void (*IrdaFree) (void*);
|
||||
|
||||
typedef void (*IrdaEncode)(uint32_t address, uint32_t command, bool repeat);
|
||||
|
||||
Reference in New Issue
Block a user