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

SPI card configuration. More...

#include <SdSpiDriver.h>

Public Member Functions

 SdSpiConfig (uint8_t cs, uint8_t opt, SPISettings settings, uint8_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 uint8_t options
 
const int8_t spiPort
 
const SPISettings spiSettings
 

Detailed Description

SPI card configuration.

Constructor & Destructor Documentation

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

SdSpiConfig constructor.

Parameters
[in]csChip select pin.
[in]optOptions.
[in]settingsSPISettings.
[in]portThe SPI port to use.
SdSpiConfig::SdSpiConfig ( uint8_t  cs,
uint8_t  opt,
SPISettings  settings 
)
inline

SdSpiConfig constructor.

Parameters
[in]csChip select pin.
[in]optOptions.
[in]settingsSPISettings.
SdSpiConfig::SdSpiConfig ( uint8_t  cs,
uint8_t  opt 
)
inline

SdSpiConfig constructor.

Parameters
[in]csChip select pin.
[in]optOptions.
SdSpiConfig::SdSpiConfig ( uint8_t  cs)
inlineexplicit

SdSpiConfig constructor.

Parameters
[in]csChip select pin.

Member Data Documentation

const uint8_t SdSpiConfig::csPin

Chip select pin.

const uint8_t SdSpiConfig::options

Options

const int8_t SdSpiConfig::spiPort

SPI port

const SPISettings SdSpiConfig::spiSettings

SPISettings


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