mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-10-03 07:04:46 +00:00
derive Clone, Copy for qspi config
This commit is contained in:
parent
f247fcf817
commit
698109acfe
@ -46,6 +46,7 @@ impl Default for TransferConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// QSPI driver configuration.
|
/// QSPI driver configuration.
|
||||||
|
#[derive(Clone, Copy)]
|
||||||
pub struct Config {
|
pub struct Config {
|
||||||
/// Flash memory size representend as 2^[0-32], as reasonable minimum 1KiB(9) was chosen.
|
/// Flash memory size representend as 2^[0-32], as reasonable minimum 1KiB(9) was chosen.
|
||||||
/// If you need other value the whose predefined use `Other` variant.
|
/// If you need other value the whose predefined use `Other` variant.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user