#include <file_config.h>
BOOL Command (
U8 cmd, /* Command code for SD Card */
U32 arg, /* Command Argument */
U32 resp_type, /* Command Response type */
U32* rp); /* Buffer to recive a response */
Description
The function Command sends a command to the Flash memory
card.
The parameter cmd is one of the available
SD/MMC Commands. The parameter arg is a 32-bit SD
Command argument. The parameter resp_type
specifies the expected response type:
Type
Description
RESP_NONE
No response expected.
RESP_SHORT
4-byte short response expected.
RESP_LONG
16-byte long response expected.
The parameter rp is a pointer to a buffer to
store the response.
The function is part of the MCI
Driver. The prototype is defined in the file
File_Config.h. Developers must customize the function.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.