mikroC

making it simple...

Sd_Read_Cid

mikroC - C Compiler for Microchip PIC microcontrollers

Prototype

unsigned short Sd_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 Sd_Init.

 

 

Example

error = Sd_Read_Cid(data);

 

 

Sd_Read_Csd

Prototype

unsigned short Sd_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 Sd_Init.

 

 

Example

error = Sd_Read_Csd(data);

 

 

 

 

page

 

MikroElektronika: Development tools - Books - Compilers

251