#[non_exhaustive]pub struct Config {
pub push_pull_freq: Hertz,
pub open_drain_freq: Hertz,
pub timing: BusTiming,
pub controller: ControllerOptions,
pub gpio_speed: Speed,
}Expand description
I3C controller configuration.
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.push_pull_freq: HertzTarget I3C push-pull bus frequency (informational; actual timing comes from BusTiming).
open_drain_freq: HertzTarget I3C open-drain bus frequency (informational).
timing: BusTimingBus waveform timing registers.
controller: ControllerOptionsController role options.
gpio_speed: SpeedGPIO slew rate for SCL/SDA.
Trait Implementations§
impl Copy for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more