31c31db479
* Add new IrdaApp (half ready), add ButtonMenu * Fix NEC's extension * clang-format * Fix leak * Add submenu optional header * IRDA: add Edit button * clang-format * IrdaApp: Fix scene flow * Add IRDA NEC extended protocol * IRDA: Add address/command length Co-authored-by: SG <who.just.the.doctor@gmail.com>
15 lines
411 B
C
15 lines
411 B
C
#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 (*IrdaReset) (void*);
|
|
typedef void (*IrdaFree) (void*);
|
|
|
|
typedef void (*IrdaEncode)(uint32_t address, uint32_t command, bool repeat);
|
|
|