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/stm32h742/src | |
| parent | 1f87e4783110cb752f364657ae7c2759d6a2ac27 (diff) | |
Update examples to add SampleShifting in qspi config
Diffstat (limited to 'examples/stm32h742/src')
| -rw-r--r-- | examples/stm32h742/src/bin/qspi.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/stm32h742/src/bin/qspi.rs b/examples/stm32h742/src/bin/qspi.rs index aee07f3f2..50e37ec52 100644 --- a/examples/stm32h742/src/bin/qspi.rs +++ b/examples/stm32h742/src/bin/qspi.rs | |||
| @@ -272,6 +272,7 @@ async fn main(_spawner: Spawner) -> ! { | |||
| 272 | prescaler: 16, | 272 | prescaler: 16, |
| 273 | cs_high_time: ChipSelectHighTime::_1Cycle, | 273 | cs_high_time: ChipSelectHighTime::_1Cycle, |
| 274 | fifo_threshold: FIFOThresholdLevel::_16Bytes, | 274 | fifo_threshold: FIFOThresholdLevel::_16Bytes, |
| 275 | sample_shifting: SampleShifting::None, | ||
| 275 | }; | 276 | }; |
| 276 | let driver = Qspi::new_blocking_bank1(p.QUADSPI, p.PD11, p.PD12, p.PE2, p.PD13, p.PB2, p.PB10, config); | 277 | let driver = Qspi::new_blocking_bank1(p.QUADSPI, p.PD11, p.PD12, p.PE2, p.PD13, p.PB2, p.PB10, config); |
| 277 | let mut flash = FlashMemory::new(driver); | 278 | let mut flash = FlashMemory::new(driver); |
