#[non_exhaustive]pub struct Configuration {
pub command_timeout_ms: u32,
pub io_voltage: Voltage,
pub speed_khz: u32,
pub input_delay_phase: DelayPhase,
pub driver_strength: DriverStrength,
pub current_limit: CurrentLimit,
}Expand description
Configuration for the SD-Card driver
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.command_timeout_ms: u32Command timeout in milliseconds. Default is 0 (no timeout)
io_voltage: VoltageSD-Card IO voltage. Default is 3.3V; 1.8V might only be necessary for ESP32P4 and UHS-I speeds
speed_khz: u32SD-Card speed in kHz. Default is 20000 kHz (20 MHz) Maximum speed is usually 40000 kHz (40 MHz) Speeds lower than 20000 kHz can also be used
input_delay_phase: DelayPhase§driver_strength: DriverStrength§current_limit: CurrentLimit