SdFat
Public Member Functions | Public Attributes | List of all members
SdSpiConfig Class Reference

SPI card configuration. More...

#include <SdSpiArduinoDriver.h>

Public Member Functions

 SdSpiConfig (uint8_t cs, uint8_t opt, SPISettings settings, SpiPort_t *port)
 
 SdSpiConfig (uint8_t cs, uint8_t opt, SPISettings settings)
 
 SdSpiConfig (uint8_t cs, uint8_t opt)
 
 SdSpiConfig (uint8_t cs)
 

Public Attributes

const uint8_t csPin
 
const SPISettings hsSettings
 
const uint8_t options
 
SpiPort_tspiPort
 

Detailed Description

SPI card configuration.

Constructor & Destructor Documentation

◆ SdSpiConfig() [1/4]

SdSpiConfig::SdSpiConfig ( uint8_t  cs,
uint8_t  opt,
SPISettings  settings,
SpiPort_t port 
)
inline

SdSpiConfig constructor.

Parameters
[in]csChip select pin.
[in]optOptions.
[in]settingsSPISettings.
[in]portThe SPI port to use.

◆ SdSpiConfig() [2/4]

SdSpiConfig::SdSpiConfig ( uint8_t  cs,
uint8_t  opt,
SPISettings  settings 
)
inline

SdSpiConfig constructor.

Parameters
[in]csChip select pin.
[in]optOptions.
[in]settingsSPISettings.

◆ SdSpiConfig() [3/4]

SdSpiConfig::SdSpiConfig ( uint8_t  cs,
uint8_t  opt 
)
inline

SdSpiConfig constructor.

Parameters
[in]csChip select pin.
[in]optOptions.

◆ SdSpiConfig() [4/4]

SdSpiConfig::SdSpiConfig ( uint8_t  cs)
inlineexplicit

SdSpiConfig constructor.

Parameters
[in]csChip select pin.

Member Data Documentation

◆ csPin

const uint8_t SdSpiConfig::csPin

Chip select pin.

◆ hsSettings

const SPISettings SdSpiConfig::hsSettings

SPISettings after initialization.

◆ options

const uint8_t SdSpiConfig::options

Options

◆ spiPort

SpiPort_t* SdSpiConfig::spiPort

SPI port


The documentation for this class was generated from the following file: