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