1 #ifndef W_WAVE_DRIVER_HPP
2 #define W_WAVE_DRIVER_HPP
6 namespace nes {
namespace rob {
8 class HardwareAbstractionLayer;
33 const unsigned int _pin;
The hardware abstraction layer interface.
Definition: hardware_abstraction_layer.hpp:14
The pulse driver interface.
Definition: pulse_driver.hpp:14
The W square wave implementation of the pulse driver interface.
Definition: w_wave_driver.hpp:18
WWaveDriver(HardwareAbstractionLayer *hal, unsigned int pin)
constructor
Definition: w_wave_driver.cpp:8
nes::rob::error_code rest(void *reserved=nullptr) const override
Generate a protocol specified rest period.
Definition: w_wave_driver.cpp:81
nes::rob::error_code init(void *reserved=nullptr) override
Initialize the pulse driver.
Definition: w_wave_driver.cpp:17
nes::rob::error_code pulse(void *reserved=nullptr) const override
Generate a protocol specific pulse.
Definition: w_wave_driver.cpp:37
std::error_code error_code
Definition: hal_error.hpp:24
Definition: arduino_debug_driver.hpp:6