ABL electronic PIC16 Personal Computer User Manual


 
MikroElektronika:
Development
tools
-
Books
-
Compilers
25 1
page
mikroC
- C Compiler for Microchip PIC microcontrollers
mikroC
making it simple...
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_Cid
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);
Sd_Read_Csd