Struct atmega_hal::spi::Settings
source · [−]pub struct Settings {
pub data_order: DataOrder,
pub clock: SerialClockRate,
pub mode: Mode,
}
Expand description
Settings to pass to Spi.
Easiest way to initialize is with
Settings::default()
. Otherwise can be instantiated with alternate
settings directly.
Fields
data_order: DataOrder
clock: SerialClockRate
mode: Mode
Trait Implementations
impl Eq for Settings
impl StructuralEq for Settings
impl StructuralPartialEq for Settings
Auto Trait Implementations
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more