Loading...
Searching...
No Matches
pulse_joiner.h
1#include <stdint.h>
2#include <stdbool.h>
3#include <stddef.h>
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
9typedef struct PulseJoiner PulseJoiner;
10
16PulseJoiner* pulse_joiner_alloc(void);
17
23void pulse_joiner_free(PulseJoiner* pulse_joiner);
24
34bool pulse_joiner_push_pulse(PulseJoiner* pulse_joiner, bool polarity, size_t period, size_t pulse);
35
42void pulse_joiner_pop_pulse(PulseJoiner* pulse_joiner, size_t* period, size_t* pulse);
43
44#ifdef __cplusplus
45}
46#endif
Definition pulse_joiner.c:11