SAMV71 Xplained Ultra Software Package 1.5

Collaboration diagram for SD/MMC IO Control Codes:

Defines

#define SDMMC_IOCTL_BUSY_CHECK   0x0
#define SDMMC_IOCTL_POWER   0x1
#define SDMMC_IOCTL_CANCEL_CMD   0x2
#define SDMMC_IOCTL_RESET   0x3
#define SDMMC_IOCTL_SET_CLOCK   0x11
#define SDMMC_IOCTL_SET_BUSMODE   0x12
#define SDMMC_IOCTL_SET_HSMODE   0x13
#define SDMMC_IOCTL_SET_BOOTMODE   0x14
#define SDMMC_IOCTL_GET_CLOCK   0x21
#define SDMMC_IOCTL_GET_BUSMODE   0x22
#define SDMMC_IOCTL_GET_HSMODE   0x23
#define SDMMC_IOCTL_GET_BOOTMODE   0x24

Detailed Description

Here lists the control codes for SD/MMC low level driver to support lib.


Define Documentation

#define SDMMC_IOCTL_BUSY_CHECK   0x0

SD/MMC Low Level IO Control: Check busy. Must implement for low level driver busy check. IOCtrl(pSd, SDMMC_IOCTL_BUSY_CHECK, (uint32_t)pBusyFlag)

Definition at line 195 of file sdmmc_cmd.h.

#define SDMMC_IOCTL_CANCEL_CMD   0x2

SD/MMC Low Level IO Control: Cancel command. IOCtrl(pSd, SDMMC_IOCTL_CANCEL_CMD, NULL)

Definition at line 202 of file sdmmc_cmd.h.

#define SDMMC_IOCTL_GET_BOOTMODE   0x24

SD/MMC Low Level IO Control: Boot mode

Definition at line 227 of file sdmmc_cmd.h.

#define SDMMC_IOCTL_GET_BUSMODE   0x22

SD/MMC Low Level IO Control: Bus mode

Definition at line 223 of file sdmmc_cmd.h.

#define SDMMC_IOCTL_GET_CLOCK   0x21

SD/MMC Low Level IO Control: Get clock frequency

Definition at line 221 of file sdmmc_cmd.h.

#define SDMMC_IOCTL_GET_HSMODE   0x23

SD/MMC Low Level IO Control: High-speed mode

Definition at line 225 of file sdmmc_cmd.h.

#define SDMMC_IOCTL_POWER   0x1

SD/MMC Low Level IO Control: Power control. Recomended for SD/MMC/SDIO power control. IOCtrl(pSd, SDMMC_IOCTL_POWER, (uint32_t)ON/OFF)

Definition at line 199 of file sdmmc_cmd.h.

#define SDMMC_IOCTL_RESET   0x3

SD/MMC Low Level IO Control: Reset & disable HW. IOCtrl(pSd, SDMMC_IOCTL_RESET, NULL)

Definition at line 205 of file sdmmc_cmd.h.

#define SDMMC_IOCTL_SET_BOOTMODE   0x14

SD/MMC Low Level IO Control: Set Boot mode

Definition at line 219 of file sdmmc_cmd.h.

#define SDMMC_IOCTL_SET_BUSMODE   0x12

SD/MMC Low Level IO Control: Set bus mode, return applied mode Recomended for bus mode selection IOCtrl(pSd, SDMMC_IOCTL_SET_BUSMODE, (uint32_t*)pIoBusMode)

Definition at line 213 of file sdmmc_cmd.h.

#define SDMMC_IOCTL_SET_CLOCK   0x11

SD/MMC Low Level IO Control: Set clock frequency, return applied frequency Recomended for clock selection IOCtrl(pSd, SDMMC_IOCTL_SET_CLOCK, (uint32_t*)pIoFreq)

Definition at line 209 of file sdmmc_cmd.h.

#define SDMMC_IOCTL_SET_HSMODE   0x13

SD/MMC Low Level IO Control: Set HS mode, return applied mode Recommended for HS mode enable IOCtrl(pSd, SDMMC_IOCTL_SET_BUSMODE, (uint32_t*)pIoHsMode)

Definition at line 217 of file sdmmc_cmd.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines