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

This commit is contained in:
wanckl
2026-03-11 10:14:12 +08:00
committed by morris
parent 5213197284
commit 1a86c86702
13 changed files with 69 additions and 46 deletions
+2 -2
View File
@@ -170,12 +170,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).