Sets the electrical characteristics of the pin.

syntaxSyntax:
DlxPin.SetEType(etype)

Parameters

Parameter Description
etype Specify one of the following values:
DlxApp.PINTYPE_UNDEFINED Pin with function not clearly defined.
DlxApp.PINTYPE_INPUT Input pin.
DlxApp.PINTYPE_OUTPUT Output pin.
DlxApp.PINTYPE_BIDIRECTIONAL Input/Output pin.
DlxApp.PINTYPE_POWER Power supply pins of a component (Vcc, Vss, Gnd).
DlxApp.PINTYPE_POWEROUTPUT Pin giving power as the output pin of voltage regulator.
DlxApp.PINTYPE_PASSIVE Pin of a passive element (resistor, capacitor ecc.).
DlxApp.PINTYPE_THREESTATE Output pin, which can achieve high-impedance.
DlxApp.PINTYPE_OPENCOLLECTOR Open collector pin.
DlxApp.PINTYPE_OPENEMITTER Open emitter pin.

Return Value

If the operation ends correctly, it returns true otherwise it returns false.

Example

  Copy codeCopy code

See also