diff options
| author | Süha Ünüvar <[email protected]> | 2025-09-02 23:41:25 +0800 |
|---|---|---|
| committer | Süha Ünüvar <[email protected]> | 2025-09-02 23:41:25 +0800 |
| commit | 010f4b08aa6846ffdbf906398caaceb4eb9c1c39 (patch) | |
| tree | 9c4928e8d047c362c5dc4a6c8fc9b92a96b7194e /embassy-stm32/src | |
| parent | 91e33015c3cabb19f818d8fc7ea51d33a71621c5 (diff) | |
derive Clone, Copy for qspi transfer config
Diffstat (limited to 'embassy-stm32/src')
| -rw-r--r-- | embassy-stm32/src/qspi/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-stm32/src/qspi/mod.rs b/embassy-stm32/src/qspi/mod.rs index bdc3b7f34..c0cd216f0 100644 --- a/embassy-stm32/src/qspi/mod.rs +++ b/embassy-stm32/src/qspi/mod.rs | |||
| @@ -17,6 +17,7 @@ use crate::rcc::{self, RccPeripheral}; | |||
| 17 | use crate::{peripherals, Peri}; | 17 | use crate::{peripherals, Peri}; |
| 18 | 18 | ||
| 19 | /// QSPI transfer configuration. | 19 | /// QSPI transfer configuration. |
| 20 | #[derive(Clone, Copy)] | ||
| 20 | pub struct TransferConfig { | 21 | pub struct TransferConfig { |
| 21 | /// Instruction width (IMODE) | 22 | /// Instruction width (IMODE) |
| 22 | pub iwidth: QspiWidth, | 23 | pub iwidth: QspiWidth, |
