pin - Digital pin control

Configure a digital GPIO-capable probe as an input or output, and drive or read its logic level.

Usage:

- command: pin <probe> input [pullup|pulldown]

- command: pin <probe> output [low|high]

Argument

Description

probe

Probe to configure. One of DDTPxx (Direct Digital Test

Probe), RDTPxx (Routed Digital Test Probe), UART0_RTS/UART1_RTS, or SWD_NRST.

input

Configure the probe as an input, with the given pull

configuration.

pullup

Enable the internal pull-up resistor on the pin.

pulldown

Enable the internal pull-down resistor on the pin.

output

Configure the probe as an output, driven to the given level.

low

Drive the output low (default if no level is given).

high

Drive the output high.

If neither pullup nor pulldown is given for an input pin, the pin is left floating. UARTx_RTS and SWD_NRST only support output (they cannot be configured as inputs); read a digital signal’s level instead with the measure - Probe Measurement command’s pin channel.

Note

On the PLT-300A, the DDTP00 ... DDTP08 pins need to be connected to the Multiplexer sub-system, to be used as GPIOs.

Use the mux connect DDTPxx command to to connect such a pin to the Multiplexer sub-system.

Warning

When DDTPxx pins are connected to the Multiplexer sub-system, the maximum voltage is 5.5V.

Examples