Port |
public class PortConfig : ConfigBase
The PortConfig type exposes the following members.
| Name | Description | |
|---|---|---|
| Directions | The direction for each group of pins. | |
| Functions | The function for each pin. | |
| IOLevel | The logic voltage level for all pins. | |
| Polarities | The logical polarity for each individual pin. | |
| WriteDelay | The delay between updating the port output and the assertion of the 'Write' signal. | |
| WriteWidth | The amount of time the 'Write' signal remains active after changing the port's output. |
| Name | Description | |
|---|---|---|
| GetGroupCount | Gets the number of pin-groups implemented on the specified IO port. | |
| GetPinCount | Gets the total number of pins implemented on the specified port. | |
| GetPinsPerGroup | Gets the number of pins in each pin-group of the specified port. | |
| GetSupportedDirections | Gets an array of the IO directions supported by the specified port. | |
| GetSupportedIOLevels | Gets an array of IO levels (voltages) supported by the specified port. | |
| HasWriteSignal | Returns a flag that indicates whether the specified IO port provides a "Write" signal (which could be employed to control an external latch). | |
| Load | Loads a new configuration instance from the specified file. | |
| Save | Saves the configuration to the specified file. If the specified file exists, this method overwrites it. |