diff options
| author | Süha Ünüvar <[email protected]> | 2025-09-15 18:44:52 +0800 |
|---|---|---|
| committer | Süha Ünüvar <[email protected]> | 2025-09-15 18:44:52 +0800 |
| commit | 77d82516131ca37a706e1965e44fca40854931c5 (patch) | |
| tree | b3b1c4a93e1cfd126cc844b78d81616a643c4b04 | |
| parent | 5ee77055a1d0073c3e5f312764acd566b1b92f84 (diff) | |
tag config as non exhaustive
| -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 0ed661115..0644069a6 100644 --- a/embassy-stm32/src/qspi/mod.rs +++ b/embassy-stm32/src/qspi/mod.rs | |||
| @@ -48,6 +48,7 @@ impl Default for TransferConfig { | |||
| 48 | 48 | ||
| 49 | /// QSPI driver configuration. | 49 | /// QSPI driver configuration. |
| 50 | #[derive(Clone, Copy)] | 50 | #[derive(Clone, Copy)] |
| 51 | #[non_exhaustive] | ||
| 51 | pub struct Config { | 52 | pub struct Config { |
| 52 | /// Flash memory size representend as 2^[0-32], as reasonable minimum 1KiB(9) was chosen. | 53 | /// Flash memory size representend as 2^[0-32], as reasonable minimum 1KiB(9) was chosen. |
| 53 | /// If you need other value the whose predefined use `Other` variant. | 54 | /// If you need other value the whose predefined use `Other` variant. |
