aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/xspi/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-stm32/src/xspi/mod.rs')
-rw-r--r--embassy-stm32/src/xspi/mod.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/embassy-stm32/src/xspi/mod.rs b/embassy-stm32/src/xspi/mod.rs
index 44c10b961..60ccf3c97 100644
--- a/embassy-stm32/src/xspi/mod.rs
+++ b/embassy-stm32/src/xspi/mod.rs
@@ -429,6 +429,11 @@ impl<'d, T: Instance, M: PeriMode> Xspi<'d, T, M> {
429 w.set_abdtr(command.abdtr); 429 w.set_abdtr(command.abdtr);
430 w.set_absize(CcrAbsize::from_bits(command.absize.into())); 430 w.set_absize(CcrAbsize::from_bits(command.absize.into()));
431 }) 431 })
432 } else {
433 T::REGS.ccr().modify(|w| {
434 // disable alternate bytes
435 w.set_abmode(CcrAbmode::B_0X0);
436 })
432 } 437 }
433 438
434 // Configure dummy cycles 439 // Configure dummy cycles