SdFat
Macros
SdSpiDriver.h File Reference

SpiDriver classes. More...

#include "../common/SysCall.h"
#include "SdSpiArduinoDriver.h"
Include dependency graph for SdSpiDriver.h:
This graph shows which files directly or indirectly include this file:

Macros

#define DEDICATED_SPI   0X80
 
#define SHARED_SPI   0
 

Detailed Description

SpiDriver classes.

Copyright (c) 2011-2019 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.

Macro Definition Documentation

◆ DEDICATED_SPI

#define DEDICATED_SPI   0X80

The SD is the only device on the SPI bus.

◆ SHARED_SPI

#define SHARED_SPI   0

SPI bus is share with other devices.