adapnex::core::TP::operator()
Function call operators
Synopses
Declared in <adapnex/core/timer.h>
void
operator()(
bool IN,
Duration PT);
void
operator()(
bool const IN,
Duration const PT,
bool& Q);
Function call operator
void
operator()(
bool const IN,
Duration const PT,
bool& Q,
Duration& ET);
Parameters
| Name | Description |
|---|---|
IN |
Trigger for the start of the pulse. |
PT |
The duration of the pulse. |
Q |
Output that produces the defined pulse. If IN is false, the output Q is false. As soon as IN is true, Q becomes true and remains so for the duration PT, irrespective of the state of the input IN. |
ET |
As long as Q is true, the duration in ET is incremented until the value reaches PT. It then remains equal to PT. |
Created with MrDocs