mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
40 lines
853 B
YAML
40 lines
853 B
YAML
description: ESP32 SPI Controller
|
|
|
|
include: ["spi-controller.yaml"]
|
|
|
|
compatible: "espressif,esp32-spi"
|
|
|
|
properties:
|
|
host:
|
|
type: int
|
|
required: true
|
|
description: |
|
|
The SPI host (controller) to use.
|
|
Defined by spi_host_device_t (e.g. SPI2_HOST, SPI3_HOST).
|
|
pin-mosi:
|
|
type: int
|
|
default: GPIO_PIN_NONE
|
|
description: MOSI (Data 0) pin
|
|
pin-miso:
|
|
type: int
|
|
default: GPIO_PIN_NONE
|
|
description: MISO (Data 1) pin
|
|
pin-sclk:
|
|
type: int
|
|
required: true
|
|
description: Clock pin
|
|
pin-wp:
|
|
type: int
|
|
default: GPIO_PIN_NONE
|
|
description: WP (Data 2) pin
|
|
pin-hd:
|
|
type: int
|
|
default: GPIO_PIN_NONE
|
|
description: HD (Data 3) pin
|
|
max-transfer-size:
|
|
type: int
|
|
default: 0
|
|
description: |
|
|
Data transfer size limit in bytes.
|
|
0 means the platform decides the limit.
|