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

This commit is contained in:
wanckl
2026-03-09 15:19:49 +08:00
committed by Wan Lei
parent d4a9a5e59b
commit e66e7374d1
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).