PulsePort (Toggle Port State)

The PulsePort instruction is used to toggle the state of a port, delay, and then toggle the port again.

Syntax

PulsePort (Port, Delay )

Remarks

This instruction toggles a port, delays the specified amount of time, toggles the port, and then delays a second time. The second delay in the instruction allows it to be used to create a 50 percent duty cycle clock for clocking multiplexers.

Parameters

Port

The number of the port to use in this instruction. An alphanumeric code is entered. Right-click to display a list.

Code Description
C1 Control terminal 1
C2 Control terminal 2
C3 Control terminal 3
C4 Control terminal 4
C5 Control terminal 5
C6 Control terminal 6
C7 Control terminal 7
C8 Control terminal 8

Type: Constant

Delay

The amount of time, in microseconds, to delay after toggling the port. The delay is used after both the first and second toggles of the port.

Type: Constant