Open RTS
Full implementation of the Somfy RTS protocol
Loading...
Searching...
No Matches
rts_timings.h
Go to the documentation of this file.
1#ifndef RTS_TIMINGS_H
2#define RTS_TIMINGS_H
3
4#include <stdint.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
33 uint16_t wakeup_high;
34
36 uint16_t wakeup_low;
37
39 uint16_t preamble_high;
40
42 uint16_t preamble_low;
43
45 uint16_t sync_high;
46
48 uint16_t sync_low;
49
51 uint16_t symbol;
52
54 uint16_t frame_sleep;
55};
56
59
61extern struct rts_timings *RTS_TIMINGS_DEFAULT;
62
67#ifdef __cplusplus
68} // extern "C"
69#endif
70
71#endif // RTS_TIMINGS_H
struct rts_timings RTS_TIMINGS_SITUO5
Timings as measured from a physical Situio5 remote.
Definition rts_timings.c:4
struct rts_timings * RTS_TIMINGS_DEFAULT
Default timings, suitable for most application.
Definition rts_timings.c:15
Timing definitions for encoding and decoding frames to pulses.
Definition rts_timings.h:31
uint16_t preamble_high
Width of the high part of a "preamble", in microseconds.
Definition rts_timings.h:39
uint16_t sync_low
Width of the low part of a "software sync", in microseconds.
Definition rts_timings.h:48
uint16_t wakeup_low
Width of the low part of a "wakeup pulse", in microseconds.
Definition rts_timings.h:36
uint16_t preamble_low
Width of the low part of a "preamble", in microseconds.
Definition rts_timings.h:42
uint16_t frame_sleep
Width of an inter-frame sleep (low), in microseconds.
Definition rts_timings.h:54
uint16_t symbol
Width of a data symbol (either high or low), in microseconds.
Definition rts_timings.h:51
uint16_t sync_high
Width of the high part of a "software sync", in microseconds.
Definition rts_timings.h:45
uint16_t wakeup_high
Width of the high part of a "wakeup pulse", in microseconds.
Definition rts_timings.h:33