Jump to main content

##

# 2.105.34 SDHC_DataTransferFlags Struct

## C

    typedef struct
    {
        // Indicates if SDHC transfer has a data stage or not
        bool isDataPresent;

        // Direction of the data transfer
        SDHC_DATA_TRANSFER_DIR transferDir;

        // Type of the data transfer - read/write
        SDHC_DATA_TRANSFER_TYPE transferType;

    }SDHC_DataTransferFlags;

## Summary

The data structure is used by the application to provide information about the data trasnfer to the SDHC PLIB.

## Description

The client indicates whether the transfer contains data stage and if yes, it further specifies the data transfer direction and data transfer type. The object of this data type is passed as an argument to the SDHCx_CommandSend function.

## Remarks

None.