feat(driver_spi): master driver support DDR(DTR) clock mode

This commit is contained in:
wanckl
2026-08-19 17:22:45 +08:00
parent 124edb2243
commit a9ce9e4abf
20 changed files with 178 additions and 8 deletions
@@ -53,6 +53,7 @@ typedef struct {
* Left 0 if not known.
*/
bool use_gpio; ///< True if the GPIO matrix is used, otherwise false
bool use_ddr_clk; ///< Whether to use DDR mode for clock
} spi_hal_timing_param_t;
/**
@@ -70,6 +71,7 @@ typedef struct {
int timing_dummy; ///< Extra dummy needed to compensate the timing
int timing_miso_delay; ///< Extra miso delay clocks to compensate the timing
spi_sampling_point_t rx_sample_point;///< Sample data follow standard SPI timing in master mode
bool use_ddr_clk; ///< Whether to use DDR mode for clock
} spi_hal_timing_conf_t;
/**