Gpio |
public IODirection[] GetSupportedDirections( IOPort port )
Some ports support only Input or Output, but not both.
Each port is evenly divided into multiple pin-groups of equal size.
For example, PortA has two pin-groups with 8 pins each.
Important |
---|
The I/O direction can only be configured per pin-group, and even then only if the port actually supports having its direction changed. |
Please refer to 10.4.2 GPIO Port Configuration Procedures for further details.