pin - Digital pin control

Configure a Digital probe.

Usage:

- command: pin <probe> input [pullup]

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

Argument

Description

probe

Probe (DDTPxx, RDTPxx, UARTx_RTS or SWD_NRST)

input

Configure as input

pullup

Enable pull-up (only for RDTPxx pins)

output

Configure as output

low

Set low

high

Set high

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