Mikroc – ABL electronic PIC Microcontrollers PIC16 User Manual

Page 259

Advertising
background image

MikroElektronika: Development tools - Books - Compilers

251

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

Advertising
This manual is related to the following products: