Function SPI Set SD

From Uzebox Wiki
Jump to: navigation, search
Prototype

void SPI_Set_SD(void);

Description

Set SPI data rate for SD access (slower speed).

Parameters

None

Returns

Void

Video Modes

All

Since

V.5.x.x bootloaders

Notes

Calling this function is not necessary for FS_* functions (they do it themselves). It is recommended to access the SD card at the slower speed provided by this function (calling SDC_* functions directly) as due to the CRC caluclation overhead they can not progress faster anyway. It makes SD access less error-prone.