adapnex::core::SquareWaveGenerator::operator()
Function call operators
Synopses
Declared in <adapnex/core/timer.h>
void
operator()(
bool EN,
Duration PTON,
Duration PTOFF);
Function call operator
void
operator()(
bool const EN,
Duration const PTON,
Duration const PTOFF,
bool& CLK);
Parameters
| Name | Description |
|---|---|
EN |
Input that enables the pulse generation when true. |
PTON |
Input defining the duration that the output CLK remains true during each cycle. |
PTOFF |
Input defining the duration that the output CLK remains false during each cycle. |
CLK |
Output that alternates between true and false according to the durations PTON and PTOFF. |
Created with MrDocs