Struct riot_sys::spi_conf_t[][src]

#[repr(C)]
pub struct spi_conf_t { pub dev: *mut NRF_SPIM_Type, pub sclk: gpio_t, pub mosi: gpio_t, pub miso: gpio_t, }
Expand description

@brief SPI configuration values

Fields

dev: *mut NRF_SPIM_Type

< SPI device used

sclk: gpio_t

< CLK pin

mosi: gpio_t

< MOSI pin

miso: gpio_t

< MISO pin

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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

Performs the conversion.

Performs the conversion.

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.