PortConfigGetPinCount Method |
Gets the total number of pins implemented on the specified port.
Namespace: RAYLASE.SPICE3Assembly: RAYLASE.SPICE3 (in RAYLASE.SPICE3.dll) Version: 3.6.0
Syntax public static int GetPinCount(
IOPort port
)
Parameters
- port IOPort
- The port selector.
Return Value
Int32The 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