mikroC

mikroC - C Compiler for Microchip PIC microcontrollers

making it simple...

Mmc_Read_Cid

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_Csd

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);

 

 

page

 

226

MikroElektronika: Development tools - Books - Compilers