Click or drag to resize

PortConfigGetPinCount Method

Gets the total number of pins implemented on the specified port.

Namespace: RAYLASE.SPICE3
Assembly: RAYLASE.SPICE3 (in RAYLASE.SPICE3.dll) Version: 3.4.1
Syntax
C#
public static int GetPinCount(
	IOPort port
)

Parameters

port  IOPort
The port selector.

Return Value

Int32
The number of pins.
Remarks
Each pin is a member of one pin-group.

A particular pin-group can be defined as inputs or outputs (but not both), depending on the IODirections supported by the port.

All the pin-groups of a given port contain the same number of pins.

See Also