#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.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.