Loading...
Searching...
No Matches
infrared_protocol_pioneer_i.h
1#pragma once
2
3#include "../common/infrared_common_i.h"
4
5#define INFRARED_PIONEER_CARRIER_FREQUENCY 40000
6#define INFRARED_PIONEER_DUTY_CYCLE 0.33
7#define INFRARED_PIONEER_PREAMBLE_MARK 8500
8#define INFRARED_PIONEER_PREAMBLE_SPACE 4225
9#define INFRARED_PIONEER_BIT1_MARK 500
10#define INFRARED_PIONEER_BIT1_SPACE 1500
11#define INFRARED_PIONEER_BIT0_MARK 500
12#define INFRARED_PIONEER_BIT0_SPACE 500
13#define INFRARED_PIONEER_PREAMBLE_TOLERANCE 200 // us
14#define INFRARED_PIONEER_BIT_TOLERANCE 120 // us
15#define INFRARED_PIONEER_SILENCE 26000
16#define INFRARED_PIONEER_MIN_SPLIT_TIME (INFRARED_PIONEER_SILENCE)
17#define INFRARED_PIONEER_REPEAT_COUNT_MIN 2
18
19extern const InfraredCommonProtocolSpec infrared_protocol_pioneer;
20
21bool infrared_decoder_pioneer_interpret(InfraredCommonDecoder* decoder);
22InfraredStatus infrared_encoder_pioneer_encode_repeat(
23 InfraredCommonEncoder* encoder,
24 uint32_t* duration,
25 bool* level);
Definition infrared_common_i.h:42
Definition infrared_common_i.h:55
Definition infrared_common_i.h:18