Loading...
Searching...
No Matches
infrared_protocol_kaseikyo.h
1#pragma once
2
3#include "../infrared_i.h"
4
5/***************************************************************************************************
6* Kaseikyo protocol description
7* https://github.com/Arduino-IRremote/Arduino-IRremote/blob/master/src/ir_Kaseikyo.hpp
8****************************************************************************************************
9* Preamble Preamble Pulse Distance/Width Pause Preamble Preamble
10* mark space Modulation up to period repeat repeat
11* mark space
12*
13* 3360 1665 48 bit ...130000 3456 1728
14* __________ _ _ _ _ _ _ _ _ _ _ _ _ _ ___________
15* ____ __________ _ _ _ __ __ __ _ _ __ __ _ _ ________________ ___________
16*
17***************************************************************************************************/
18
19void* infrared_decoder_kaseikyo_alloc(void);
20void infrared_decoder_kaseikyo_reset(void* decoder);
21void infrared_decoder_kaseikyo_free(void* decoder);
22InfraredMessage* infrared_decoder_kaseikyo_check_ready(void* decoder);
23InfraredMessage* infrared_decoder_kaseikyo_decode(void* decoder, bool level, uint32_t duration);
24
25void* infrared_encoder_kaseikyo_alloc(void);
26InfraredStatus
27 infrared_encoder_kaseikyo_encode(void* encoder_ptr, uint32_t* duration, bool* level);
28void infrared_encoder_kaseikyo_reset(void* encoder_ptr, const InfraredMessage* message);
29void infrared_encoder_kaseikyo_free(void* encoder_ptr);
30
31const InfraredProtocolVariant* infrared_protocol_kaseikyo_get_variant(InfraredProtocol protocol);
Definition infrared.h:42
Definition infrared_i.h:19