Alternate Pin Function
Title: Alternate Pin Function
| Type | object |
| Required | No |
| Additional properties | Any type allowed |
Description: An alternate peripheral function available on a GPIO pin
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|---|---|---|---|---|---|
| - af | No | object | No | - | Alternate function number (microcontroller-specific, e.g. AF4 for STM32) |
| + peripheral | No | string | No | - | Peripheral name (e.g. I2C1, SPI2, USART3) |
| + signal | No | string | No | - | Signal name within the peripheral (e.g. SCL, MOSI, TX) |
| + direction | No | enum (of string) | No | - | Signal direction when this alternate function is active |
1. Property af
| Type | object |
| Required | No |
| Additional properties | Any type allowed |
Description: Alternate function number (microcontroller-specific, e.g. AF4 for STM32)
2. Property peripheral
| Type | string |
| Required | Yes |
Description: Peripheral name (e.g. I2C1, SPI2, USART3)
3. Property signal
| Type | string |
| Required | Yes |
Description: Signal name within the peripheral (e.g. SCL, MOSI, TX)
4. Property direction
| Type | enum (of string) |
| Required | Yes |
Description: Signal direction when this alternate function is active
Must be one of: * "input" * "output" * "bidirectional"
Generated using json-schema-for-humans on 2026-03-30 at 10:42:33 +0000