Reading the CSD and CID registers in MMC?

Hi everybody,

Does anybody have a code for reading the CSD and CID registers in MMC?

Thanks in advanced[/b]