pub struct SPI { /* private fields */ }
Expand description

Serial Peripheral Interface

Implementations

Pointer to the register block

Return the pointer to the register block

Trait Implementations

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Sets up the control/status registers with the right settings for this secondary device

Disable the peripheral

Check the interrupt flag to see if the write has completed

Read a byte from the data register

Write a byte to the data register, which begins transmission automatically.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.