diff options
| author | Cristian Milatinov <[email protected]> | 2025-07-05 01:32:21 -0400 |
|---|---|---|
| committer | Cristian Milatinov <[email protected]> | 2025-07-05 01:32:21 -0400 |
| commit | 9134fb2dd4f8430b1630cff98a93f030dae3ebeb (patch) | |
| tree | 89494bdb149ce0d016a65dff516e24c535435b54 /examples/stm32f7/src/bin | |
| parent | 1f87e4783110cb752f364657ae7c2759d6a2ac27 (diff) | |
Update examples to add SampleShifting in qspi config
Diffstat (limited to 'examples/stm32f7/src/bin')
| -rw-r--r-- | examples/stm32f7/src/bin/qspi.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/stm32f7/src/bin/qspi.rs b/examples/stm32f7/src/bin/qspi.rs index bd3287964..ab29ddeff 100644 --- a/examples/stm32f7/src/bin/qspi.rs +++ b/examples/stm32f7/src/bin/qspi.rs | |||
| @@ -279,6 +279,7 @@ async fn main(_spawner: Spawner) -> ! { | |||
| 279 | prescaler: 16, | 279 | prescaler: 16, |
| 280 | cs_high_time: ChipSelectHighTime::_1Cycle, | 280 | cs_high_time: ChipSelectHighTime::_1Cycle, |
| 281 | fifo_threshold: FIFOThresholdLevel::_16Bytes, | 281 | fifo_threshold: FIFOThresholdLevel::_16Bytes, |
| 282 | sample_shifting: SampleShifting::None, | ||
| 282 | }; | 283 | }; |
| 283 | let driver = Qspi::new_bank1( | 284 | let driver = Qspi::new_bank1( |
| 284 | p.QUADSPI, p.PF8, p.PF9, p.PE2, p.PF6, p.PF10, p.PB10, p.DMA2_CH7, config, | 285 | p.QUADSPI, p.PF8, p.PF9, p.PE2, p.PF6, p.PF10, p.PB10, p.DMA2_CH7, config, |
