Mikroc – ABL electronic PIC Microcontrollers PIC16 User Manual
Page 234

mikroC - C Compiler for Microchip PIC microcontrollers
mikroC
making it simple...
226
MikroElektronika: Development tools - Books - Compilers
page
Prototype
unsigned short
Mmc_Read_Cid(unsigned short *data_for_registers);
Returns
Returns 0 if read was successful, or 1 if an error occurred.
Description
Function reads CID register and returns 16 bytes of content into
data_for_registers
.
Requires
Library needs to be initialized, see
Mmc_Init
.
Example
error = Mmc_Read_Cid(data);
Mmc_Read_Cid
Prototype
unsigned short
Mmc_Read_Csd(unsigned short *data_for_registers);
Returns
Returns 0 if read was successful, or 1 if an error occurred.
Description
Function reads CSD register and returns 16 bytes of content into
data_for_registers
.
Requires
Library needs to be initialized, see
Mmc_Init
.
Example
error = Mmc_Read_Csd(data);
Mmc_Read_Csd