adapnex::core::TON::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 |
Starts the timer with a rising edge and resets the timer with a falling edge. |
PT |
Time that must pass before Q is set. |
Q |
Output that has a rising edge when the duration specified in PT has passed. Q is true, if IN is true and ET is equal to PT. Otherwise, Q is false. |
ET |
If IN is false, the ET output is 0. As soon as IN is true, the duration in ET is incremented until the value reaches PT. It then remains equal to PT. |
Created with MrDocs