fix(driver_spi): master set idle pin level for all data pin

This commit is contained in:
wanckl
2026-01-06 17:22:43 +08:00
parent 09a3d16cfa
commit 70140bd0fc
15 changed files with 83 additions and 54 deletions
@@ -163,12 +163,12 @@ typedef struct {
void spi_hal_init(spi_hal_context_t *hal, uint32_t host_id);
/**
* Config default output IO level when don't have transaction
* Config default output data IO level when bus idle
*
* @param hal Context of the HAL layer.
* @param level IO level to config
*/
void spi_hal_config_io_default_level(spi_hal_context_t *hal, bool level);
void spi_hal_set_data_pin_idle_level(spi_hal_context_t *hal, bool level);
/**
* Deinit the peripheral (and the context if needed).