2021-05-18 10:51:00 +00:00
|
|
|
#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);
|
2021-06-02 15:16:05 +00:00
|
|
|
typedef void (*IrdaReset) (void*);
|
2021-05-18 10:51:00 +00:00
|
|
|
typedef void (*IrdaFree) (void*);
|
|
|
|
|
|
|
|
typedef void (*IrdaEncode)(uint32_t address, uint32_t command, bool repeat);
|
|
|
|
|