1.34.6.2 HSMCI_ResponseRead Function

C

void HSMCI_ResponseRead ( HSMCI_READ_RESPONSE_REG respReg, uint32_t* response )

Summary

Reads the specified response register

Description

Response of a command can be read using this API.

Precondition

A command having a response must have been submitted using the HSMCI_CommandSend() function.

Parameters

Param Description
respReg Enumeration of type HSMCI_READ_RESPONSE_REG identifying the response register to read
response Pointer to the buffer to read the response into

Returns

None.

Example

uint32_t cmd_response;
HSMCI_ResponseRead(HSMCI_READ_RESP_REG_0, &cmd_response);

Remarks

None.