Annotation of funnyos/dev/sdmmc/sdmmc.c, Revision 1.1
1.1 ! nbrk 1: /*
! 2: * $Id$
! 3: */
! 4: #include <sys/types.h>
! 5: #include <dev/sdmmc/sdmmcvar.h>
! 6:
! 7: struct sdmmc_cmdframe
! 8: sdmmc_command(uint8_t cmd, uint32_t arg, uint8_t crc)
! 9: {
! 10: /*
! 11: * Construct command frame and return it.
! 12: */
! 13: struct sdmmc_cmdframe cmdframe;
! 14:
! 15: cmdframe.sc_cmd = CMDFRAME_CMD(cmd);
! 16: cmdframe.sc_arg = arg;
! 17: cmdframe.sc_crc = CMDFRAME_CRC(crc);
! 18:
! 19: return(cmdframe);
! 20: }
! 21:
CVSweb