mikroSDK Reference Manual
sdspi_config_t Struct Reference

A Structure used for initialization of SD SPI Physical Drive. More...

Data Fields

pin_name_t spi_sck
 
pin_name_t spi_miso
 
pin_name_t spi_mosi
 
pin_name_t spi_cs
 

Detailed Description

It specifies what pins will be used for SPI communication with SD Card.

Field Documentation

◆ spi_sck

pin_name_t sdspi_config_t::spi_sck

Pins used for SPI Clock

◆ spi_miso

pin_name_t sdspi_config_t::spi_miso

Pins used as SPI MISO or SD Card Data Out

◆ spi_mosi

pin_name_t sdspi_config_t::spi_mosi

Pins used as SPI MOSI or SD Card Data In

◆ spi_cs

pin_name_t sdspi_config_t::spi_cs

Pins used as Chip Select, for selecting the SD Card