mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-20 01:33:18 +00:00
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>
14 lines
411 B
C
14 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);
|
|
|