feat(driver_spi): 3wire sio mode support on slave_hd mode

This commit is contained in:
Wan Lei
2026-06-29 15:41:15 +08:00
parent 7bc0fc6870
commit c19e3df6c9
9 changed files with 89 additions and 176 deletions
@@ -84,6 +84,7 @@ typedef struct {
uint32_t host_id; ///< Host ID of the spi peripheral
bool dma_enabled; ///< DMA enabled or not
bool append_mode; ///< True for DMA append mode, false for segment mode
bool three_wire_mode; ///< True for 3-wire mode, false for 4-wire mode
uint32_t spics_io_num; ///< CS GPIO pin for this device
uint8_t mode; ///< SPI mode (0-3)
uint32_t command_bits; ///< command field bits, multiples of 8 and at least 8.