SD_GetCSDRegister() function
Reads the SD card SCD register. Reading the contents of the CSD register in SPI mode is a simple read-block transaction.
Syntax
static uint8_t SD_GetCSDRegister(SD_CSD* Csd); Arguments
Csd
pointer on an SCD register structure
Return value
SD status
SD_GetCSDRegister() is called by 1 function and calls 4 functions:
![]()
SD_GetCSDRegister()
SD_GetCSDRegister() reads 9 variables and writes 38 variables:
![]()
SD_GetCSDRegister()