SdFat
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SdioConfig Class Reference

Empty SDIO card configuration. More...

#include <Rp2040SdioConfig.h>

Public Member Functions

uint clkPin ()
 
uint cmdPin ()
 
uint dat0Pin ()
 
uint8_t options ()
 
 SdioConfig (uint clkPin, uint cmdPin, uint dat0Pin)
 
 SdioConfig (uint8_t opt)
 
bool useDma ()
 

Detailed Description

Empty SDIO card configuration.

SDIO card configuration.

Copyright (c) 2011-2024 Bill Greiman This file is part of the SdFat library for SD memory cards.

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Constructor & Destructor Documentation

◆ SdioConfig() [1/2]

SdioConfig::SdioConfig ( uint8_t opt)
inlineexplicit

SdioConfig constructor.

Parameters
[in]optSDIO options.

◆ SdioConfig() [2/2]

SdioConfig::SdioConfig ( uint clkPin,
uint cmdPin,
uint dat0Pin )
inline

SdioConfig constructor.

Parameters
[in]clkPingpio pin for SDIO CLK.
[in]cmdPingpio pin for SDIO CMD.
[in]dat0Pingpio start pin for SDIO DAT[4].

Member Function Documentation

◆ clkPin()

uint SdioConfig::clkPin ( )
inline
Returns
gpio for SDIO CLK

◆ cmdPin()

uint SdioConfig::cmdPin ( )
inline
Returns
gpio for SDIO CMD

◆ dat0Pin()

uint SdioConfig::dat0Pin ( )
inline
Returns
gpio for SDIO DAT0

◆ options()

uint8_t SdioConfig::options ( )
inline
Returns
SDIO card options.

◆ useDma()

bool SdioConfig::useDma ( )
inline
Returns
true if DMA_SDIO.

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