This is an old revision of the document!
Click here to return to the Sources section.
The Pulse block typically used for modulation applications takes the control input from Pin0 and duty cycle input from pin1 and it generates the output pulse from pin2.
The input pin0 value from zero to one vary the output signal time period(frequency) and the input pin1 value from zero to one vary the T-ON(Duty cycle) of the pulse.
A tiny circle is used to round/unround the no of the samples in T-OFF period of pulse signal).
Name | Format [int/dec/float] - [control/audio] | Function Description |
---|---|---|
Pin 0: Input | decimal- Control | Control signal to the module to vary the frequency of the pulse |
Pin 1: Input | decimal- Control | control signal to the module to vary the duty cycle of the pulse |
Name | Format [int/dec/float] - [control/audio] | Function Description |
---|---|---|
Pin 0: Output | decimal - audio | Output pulse signal from the module |
GUI Control Name | Default Value | Range | Function Description |
---|---|---|---|
isRounded | 0 | 0 -1 | To select Round or un round the coefficients(which will control first cycle no of samples of TOFF of pulse |
GUI Control Name | Compiler Name | Function Description |
---|---|---|
isRounded | PulseAlg_withInputPinS3001isRounded | To round/unround the no of samples T-OFF period of Pulse |
Here,
1. ADAU145x
The example shown below generates the 5KHz pulse with duty cycle 50%