Open RTS
Full implementation of the Somfy RTS protocol
Loading...
Searching...
No Matches
RTSPulseOutput Class Reference

Provides an interface for an output of RTS pulses, eg a GPIO or radio. More...

#include <RTSPulseOutput.hpp>

Inherits rts_pulse_output.

Inherited by RTSPulseOutput_GPIO.

Public Member Functions

void enable ()
 Enable the pulse output.
 
void disable ()
 Disable the pulse output.
 
void sendPulse (bool state, uint32_t micros)
 Instruct the rts_pulse_output to output a pulse.
 

Friends

class RTSRemote
 

Additional Inherited Members

Detailed Description

Provides an interface for an output of RTS pulses, eg a GPIO or radio.

Implementations must define the enable, disable, and send_pulse functions and set the function pointers in the rts_pulse_output struct.

Member Function Documentation

◆ sendPulse()

void RTSPulseOutput::sendPulse ( bool  state,
uint32_t  micros 
)

Instruct the rts_pulse_output to output a pulse.

Parameters
stateboolean pulse logic state, true = HIGH, false = LOW
microsthe time the pulse was in this state, in microseconds

The documentation for this class was generated from the following files: