adapnex::core::SquareWaveGenerator::operator()

Function call operator

Synopsis

Declared in <adapnex/core/timer.h>

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