Access Restricted
This page contains internal documentation that is not publicly available.
DHWCtrl.GpioConfigure
Set direction / drive of a single GPIO pin. For outputs,
the level is driven immediately to avoid glitches.
OpenDrain starts Hi-Z; drive low via GpioSetState(Low)
and release via GpioSetState(High).
Properties
- Command code: 0xE110
- Command timeout: 100 ms
- Possible status codes: General status codes, DHWCtrl.ErrInvalidParam, DHWCtrl.ErrHardware
Parameters (request frame)
| Name | Type/Size | Description | |
|---|---|---|---|
| Pin.Port | Enumeration (8 bits) |
GPIO bank letter (A..Z).
SoC-native GPIO bank identifier. The keyword letters mirror the bank designators on STM32-style parts; not every part implements the full A..Z range. The firmware rejects banks it doesn't support with ErrInvalidParam. Values (26):
|
|
| Pin.Number | Integer (8 bits) | Pin number within the bank. Practical range is SoC-specific (typically 0..15 on STM32). Named Number rather than Index to avoid a NameChecker collision with the peripheral-instance Index in ListPeripherals's Pins array (struct parents don't currently participate in field-name namespacing). | |
| Mode | Enumeration (8 bits) |
Direction and drive configuration for the pin.
Values (7):
|
|
Returned values (response frame)
None