Open RTS
Full implementation of the Somfy RTS protocol
Loading...
Searching...
No Matches
rts_pulse_source_gpiod.h
Go to the documentation of this file.
1#ifndef RTS_PULSE_SOURCE_GPIOD_H
2#define RTS_PULSE_SOURCE_GPIOD_H
3
4#include "../rts_pulse_source.h"
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
37 char *device, uint8_t data_pin);
38
43#ifdef __cplusplus
44} // extern "C"
45#endif
46
47#endif // RTS_PULSE_SOURCE_GPIOD_H
void rts_pulse_source_init_gpiod(struct rts_pulse_source *pulse_source, char *device, uint8_t data_pin)
Initialize an rts_pulse_source which receives pulses from the specified Linux gpiod device.
Provides an interface for a source of RTS pulses, eg a GPIO or radio.
Definition rts_pulse_source.h:35