adapnex::core::SquareWaveGenerator

A cyclic signal generator that produces pulses with defined high and low durations.

Synopsis

Declared in <adapnex/core/timer.h>

class SquareWaveGenerator;

Member Functions

Name

Description

operator()

Function call operators

Data Members

Name

Description

CLK

Output that alternates between true and false according to the durations PTON and PTOFF.

EN

Input that enables the pulse generation when true.

PTOFF

Input defining the duration that the output CLK remains false during each cycle.

PTON

Input defining the duration that the output CLK remains true during each cycle.

Created with MrDocs