RESPONSE_2 Union

Microchip MDD File System Interface

MDDFS Interface Library Help
RESPONSE_2 Union
C
typedef union {
  WORD _word;
  struct {
    BYTE _byte0;
    BYTE _byte1;
  }
  struct {
    unsigned IN_IDLE_STATE : 1;
    unsigned ERASE_RESET : 1;
    unsigned ILLEGAL_CMD : 1;
    unsigned CRC_ERR : 1;
    unsigned ERASE_SEQ_ERR : 1;
    unsigned ADDRESS_ERR : 1;
    unsigned PARAM_ERR : 1;
    unsigned B7 : 1;
    unsigned CARD_IS_LOCKED : 1;
    unsigned WP_ERASE_SKIP_LK_FAIL : 1;
    unsigned ERROR : 1;
    unsigned CC_ERROR : 1;
    unsigned CARD_ECC_FAIL : 1;
    unsigned WP_VIOLATION : 1;
    unsigned ERASE_PARAM : 1;
    unsigned OUTRANGE_CSD_OVERWRITE : 1;
  }
} RESPONSE_2;
Description

This union represents different ways to access an SD card R2 type response packet

Microchip MDD File System Interface 1.2.0 - [Aug 18, 2008]
Copyright © 2008 Microchip Technology, Inc.  All rights reserved.