43 inline void run( timeout_t _t1_msec, timeout_t _t0_msec )
noexcept
45 setTiming(_t1_msec, _t0_msec,
true);
48 inline void setTiming( timeout_t _t1_msec, timeout_t _t0_msec,
bool run =
false )
noexcept
57 inline void reset()
noexcept
62 inline bool step()
noexcept
85 inline bool out()
noexcept
90 inline bool out()
const noexcept
95 inline void set(
bool state )
noexcept
109 friend std::ostream& operator<<(std::ostream& os,
Pulse& p )
111 return os <<
" idOn=" << p.enabled
112 <<
" t1=" << p.t1.getInterval()
113 <<
" t0=" << p.t0.getInterval()
114 <<
" out=" << p.out();
117 friend std::ostream& operator<<(std::ostream& os,
Pulse* p )
122 inline timeout_t getT1()
const noexcept
126 inline timeout_t getT0()
const noexcept
131 bool isOn()
const noexcept
139 bool ostate = {
false };
140 bool enabled = {
false };
141 timeout_t t1_msec = { 0 };
142 timeout_t t0_msec = { 0 };