Function SDC CRC Enable

From Uzebox Wiki
Jump to: navigation, search
Prototype

void SDC_CRC_Enable(sdc_struct_t* sds, uint8_t ena);

Description

Toggles SD CRC checking. By default CRC checking is normally ON.

Parameters
  • sds: SD data structure.
  • ena: Whether to enable (nonzero) or disable (zero) CRC checking.
Returns

Void

Video Modes

All

Since

V.5.x.x bootloaders

You should only turn off CRC checking if you really need to. Normally you can build a fast streaming library on top of this bootloader API library without turning it off, just ignoring the CRC fields on the sector reads (you only need to send out the command starting the streaming with a valid CRC).